ynishi / handy

handy lib of haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

handy

  • handy module collection for string operation and calculation.
  • export modules to use in repl

usage

basic

touch data/a.in.txt
stack ghci

run

run (some func) "a" 

manually

x <- words <$> readFile (inData "a.in.txt") 
-- some operation
writeFile outfile x

make in query

writeFile outfile <$> mkIn1k "id" . words <$> readFile infile

make like or words

writeFile outfile <$> mkLikeE "val" . words <$> readFile infile

About

handy lib of haskell

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%