new tasks
This commit is contained in:
parent
2a4d27cea0
commit
80737d5a6a
1194 changed files with 15353 additions and 1 deletions
9
Task/Binary_strings/Haskell/binary_strings.hs
Normal file
9
Task/Binary_strings/Haskell/binary_strings.hs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import Text.Regex
|
||||
{- The above import is needed only for the last function.
|
||||
It is used there purely for readability and conciseness -}
|
||||
|
||||
{- Assigning a string to a 'variable'.
|
||||
We're being explicit about it just for show.
|
||||
Haskell would be able to figure out the type
|
||||
of "world" -}
|
||||
string = "world" :: String
|
||||
Loading…
Add table
Add a link
Reference in a new issue