Skip to content

Instantly share code, notes, and snippets.

@Nucleareal
Last active August 29, 2015 13:59
Show Gist options
  • Select an option

  • Save Nucleareal/10960231 to your computer and use it in GitHub Desktop.

Select an option

Save Nucleareal/10960231 to your computer and use it in GitHub Desktop.
if文と三項演算子を使わずにaとbの大きい数を表示 - Haskell
main = do
let a = 10
b = 20 in
print $ if a > b then a else b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment