diff options
| author | Miguel <m.i@gmx.at> | 2019-03-02 12:50:34 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-03-02 12:50:34 +0100 |
| commit | 76718c0ec3717c4f9e5b0f659ab829f4b92419d2 (patch) | |
| tree | f0d5e17dc85c9dadd5e2e2e0dc73c24a5e2f4e92 /hask-io/mini.hs | |
| parent | a97b3edf385a1fd69899ea8fe23889fa0d206079 (diff) | |
playing with some haskell code
Diffstat (limited to 'hask-io/mini.hs')
| -rw-r--r-- | hask-io/mini.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hask-io/mini.hs b/hask-io/mini.hs new file mode 100644 index 0000000..7d73bfe --- /dev/null +++ b/hask-io/mini.hs @@ -0,0 +1,3 @@ +import qualified Data.ByteString.Lazy as B +main = B.getContents>>=print.show.f + where f = B.foldl1' (+) |
