Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.haskell

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2008, 11:43 PM
raould
Guest
 
Posts: n/a
Default vs. erlang, clojure?

hi,

seems like the Control.Concurrent stuff could be used to build either
Actors (a la Erlang, Scala) or Agents (a la Clojure). any thoughts on
how one might do those?

re: Erlang, it seems straight-forward: forkIO off a function that self-
calls and/or uses State monad, and that communicates over some Chan.

re: Clojure, i'm not so sure since e.g. getting the value of a Clojure
Ref or Agent isn't async iiuc, and leverages STM. and i don't yet grok
Haskell's STM stuff.
clojure ref ?= haskell MVar/TVar?
clojure agent ?= haskell ??
http://clojure.org/state

thanks.
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 05:03 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.