CoCalc Public Fileshaskell.ipynbOpen with one click!
Author: Harald Schilly
Views : 99
Compute Environment: Ubuntu 18.04 (Deprecated)
In [1]:
9+9+1
19
In [2]:
putStr "asdf"
asdf
In [3]:
import System.Info do print os print arch print compilerName print compilerVersion
"linux" "x86_64" "ghc" Version {versionBranch = [8,4], versionTags = []}
In [4]:
putStr "asdf"
asdf
In [5]:
take 20 (iterate (\x -> (x+2) * 2) 1)
[1,6,16,36,76,156,316,636,1276,2556,5116,10236,20476,40956,81916,163836,327676,655356,1310716,2621436]
In [ ]: