Source: stackoverflow.com --- Wednesday, October 04, 2017
I tried running this code, and it ended up making GHCi unusable. Meaning, the command line (Windows) ended up not responding to any input and simply displaying an empty line. Prelude> b = ["Empty", "Discrete", "Distinct", "Defiant", "Useful", "Good", "Imperative", "Safe", "Lawful", "Unpresidented", "Decadent", "Rich", "Strong", "Marvelous", "Volatile", "Obtuse", "Acute", "Revolutionary", "Frank", "Regular"] Prelude> length b 20 Prelude> import Data.Char Prelude Data.Char> a = [ map toLower x | x <- a ] Prelude Data.Char> a ...... ...
from Windows http://ift.tt/2yoybeu
No comments:
Post a Comment