On 5月25日, 下午6时04分, Dirk Thierbach <dthierb...@usenet.arcornews.de>
> ?????? <knifew...@gmail.com> wrote:Thank you very much! I will read the tutorial first
> > I have got such a function like "Object => o -> IO(int, int)" from
> > existing API, and actually I needed is the parameters of "IO(int,
> > int)". How can I get these 2 parameters? just use a sentence like "x
> > <- fst(IO(int, int))"? Is it works?
> No, that doesn't work: Read up on Monads. Tutorials have just been
> > Or somebody will have a good idea to help me?
> Try something like
> > foo o = do
> But if you don't understand how to use the IO-Monad, you'll probably
> - Dirk
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.