Skip to content

Instantly share code, notes, and snippets.

@slimane
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slimane/9200695 to your computer and use it in GitHub Desktop.
Save slimane/9200695 to your computer and use it in GitHub Desktop.
/* 2個の引数を受け取るsomeFuncの定義で一番お勧めなのはどれなんでしょう? */
funcA a b = a * b + (a + b)
a `someFunc` b = a `funcA` b
someFunc a b = funcA a b
someFunc a b = a `funcA` b
a `someFunc` b = funcA a b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment