«« Next » « Previous
«« Next » « Previous

Link Details

Link 80297 thumbnail

By bloid
via neilmitchell.blogspot.com
Submitted: May 10 / 04:10

Haskell has one primitive construct for enforcing strictness, seq :: a -> b -> b. The idea is that the first argument is evaluated to weak-head normal form (WHNF), then the second argument is evaluated to WHNF and returned. WHNF is reduction until the outermost bit is available - either a function value, or an outer constructor.
  • 2
  • 1
  • 87
  • 8

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (1)