Created
June 16, 2017 08:24
-
-
Save mizukmb/e649308cfd14f55e199eeba8ecdeb94c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 引数の数字が 100 よりも大きいか返す関数 | |
-- -> 数字の比較 | |
-- -> 100よりも大きいか | |
gt100 :: Int -> Ordering | |
-- compare 1 2 | |
-- compare 100 x | |
gt100 = compare 100 | |
compare' a = gt100 a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
これカリー化じゃなく部分適用