The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.haskell
From: 一千瓦的刀狼 <knifew...@gmail.com>
Date: Mon, 26 May 2008 06:14:47 -0700 (PDT)
Local: Mon, May 26 2008 9:14 am
Subject: Re: How to use parameters in "IO(int, int)"
On 5月25日, 下午6时04分, Dirk Thierbach <dthierb...@usenet.arcornews.de>
wrote: > ?????? <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.
| ||||||||||||||