Personal tools

Cum aflam tipul expresiilor folosind GHCi ??

From HaskellWiki

Revision as of 04:26, 17 September 2011 by Ha$kell (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Scrieti la prompter ":t" urmat de expresie. Valabil si pentru interpretorul Hugs. Acest ":t" este abrevierea de la ":type"

Exemplu:

:t print "Hello World"
print "Hello World" :: IO ()