Difference between revisions of "Poorly named things"

From HaskellWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
* forkOS - forkOS does not create an OS-level thread. It creates a lightweight thread, the same as forkIO. The only difference is when you are doing FFI.
 
* forkOS - forkOS does not create an OS-level thread. It creates a lightweight thread, the same as forkIO. The only difference is when you are doing FFI.
  +
* return - Does not return a value from a function, rather 'returns' a value into a monad. Don't know what a better name would be, though. 'monadificate'?

Revision as of 02:44, 5 April 2010

  • forkOS - forkOS does not create an OS-level thread. It creates a lightweight thread, the same as forkIO. The only difference is when you are doing FFI.
  • return - Does not return a value from a function, rather 'returns' a value into a monad. Don't know what a better name would be, though. 'monadificate'?