LoginSignup
2
0

More than 5 years have passed since last update.

Haskell 初学者の疑問

Last updated at Posted at 2019-02-01

Haskell学習時に疑問に思ったこと。
後で解決するリスト。

let vs. where

※解説コメントいただきました

どう使い分けるか、初学者にはどちらを進めるべきか。
ある程度Haskellに慣れてから調べる。

1 :: Num t => t

※解説コメントいただきました

なぜ1 :: Numではなく、1 :: Num t => tなのか。

> :t 1
1 :: Num t => t

> :t 'a'
'a' :: Char
2
0
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0