new files
This commit is contained in:
parent
3af7344581
commit
86c034bb8b
1364 changed files with 21352 additions and 0 deletions
9
Task/Binary-strings/Haskell/binary-strings-1.hs
Normal file
9
Task/Binary-strings/Haskell/binary-strings-1.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