Skip to content

Instantly share code, notes, and snippets.

@mizukmb
Created Jun 16, 2017
Embed
What would you like to do?
-- 引数の数字が 100 よりも大きいか返す関数
-- -> 数字の比較
-- -> 100よりも大きいか
gt100 :: Int -> Ordering
-- compare 1 2
-- compare 100 x
gt100 = compare 100
compare' a = gt100 a
@mizukmb
Copy link
Author

mizukmb commented Jun 23, 2017

これカリー化じゃなく部分適用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment