Commit e686f86a authored by Alexandre Delanoë's avatar Alexandre Delanoë

adding pure

parent a530a31b
......@@ -41,7 +41,7 @@ randomIt ar = unsafePartial $ do
Nothing ->
crash "it should not happen"
Just char ->
Ran {l : char, r : rest}
pure $ Ran {l : char, r : rest}
randomText :: String -> String
randomText txt = fromCharArray ( start <> middle <> end)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment