With typesig | Without typesig | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Before seq |
|
|
||||||||||||||||||||||||
After seq |
|
|
map: | map succ ['a'..'c'] |
id: | id ['a','b','c'] |
direct: | ['a','b','c'] |
With typesig without let : | a :: [Char] ; a = ... |
With typesig with let : | let a :: [Char] ; a = ... |
Without typesig without let : | a = ... |
Without typesig with let : | let a = ... |
ghci> let a = map succ ['a'..'c'] -- or other snippet in other form ghci> :sprint a a = _ -- before seq ghci> seq a () ghci> :sprint a a = _ : _ -- after seqInterpretations: