Skip to content

Instantly share code, notes, and snippets.

View abhiranjankumar00's full-sized avatar

Abhiranjan Kumar abhiranjankumar00

  • Bangalore
View GitHub Profile
@abhiranjankumar00
abhiranjankumar00 / trimSpaces.hs
Last active January 3, 2016 10:39
Trim all input/output files or specific files.
{-
This will trim spaces at end of file and end of line for all
input/output files in current, input and output directory.
After compiling, put executable in /usr/bin/.
ghc -O2 -rtsopts -with-rtsopts="-K512m -A8m" -o trimSpaces trimSpaces.hs
sudo cp trimSpaces /usr/bin/
Run `trimSpaces` at the problem/input/output directory to trim
all input/output files.
@abhiranjankumar00
abhiranjankumar00 / dslwiki.md
Last active June 14, 2017 06:04 — forked from mrfinch/dslwiki.md
DSL Wiki

DSL

Datatypes supported:

  • Integer: integer
  • Float: float
  • String: string
  • Boolean: boolean
  • Long Integer: long_integer
  • Character: character