Skip to content

Instantly share code, notes, and snippets.

@tetsu-miyagawa
Last active August 29, 2015 14:23
Show Gist options
  • Save tetsu-miyagawa/f766a139de0751a8255d to your computer and use it in GitHub Desktop.
Save tetsu-miyagawa/f766a139de0751a8255d to your computer and use it in GitHub Desktop.
関数プログラミング入門 練習問題1.1.1
square :: Integer -> Integer
square x = x * x
quad :: Integer -> Integer
quad x = square (square x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment