Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Raynor Vliegendhart
On 8/6/09, Don Stewart d...@galois.com wrote:
 leaveye.guo:
  Hi haskellers:
 
  There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
 
  It post two functions like this :
 
evalState :: State s a - s - a
evalState act = fst $ runState act
 
execState :: State s a - s - s
execState act = snd $ runState act
 
  Both the '$' operators should be '.'.
 
  Anyone would correct it ?

Fixed :)

 Well, it's a wiki ... :-)

 -- Don

That might be true, but not everyone has an account :)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Jake McArthur

Don Stewart wrote:

leaveye.guo:

Hi haskellers:

There is a mistake in http://www.haskell.org/haskellwiki/State_Monad

It post two functions like this :

  evalState :: State s a - s - a
  evalState act = fst $ runState act

  execState :: State s a - s - s
  execState act = snd $ runState act

Both the '$' operators should be '.'.

Anyone would correct it ?



Well, it's a wiki ... :-)


Which requires registration and has not been open for registration for 
some time now.


- Jake
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Gwern Branwen

On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthurjake.mcart...@gmail.com wrote:

Which requires registration and has not been open for registration for some
time now.

- Jake


It's been open for registration for some time now.

--
gwern

signature.asc
Description: OpenPGP digital signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Sean Leather
On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:

 On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:

 Which requires registration and has not been open for registration for
 some
 time now.


 It's been open for registration for some time now.


In that case, how about changing the site notice[1] from Note: new account
creation has been disabled as an anti-spam measure, which seems to indicate
otherwise, to something more informative. Alternatively, add an informative
link to the login page[2] and clear the site notice.

Regards,
Sean

[1] http://www.haskell.org/haskellwiki/MediaWiki:Sitenotice
[2] http://www.haskell.org/haskellwiki/Special:Userlogin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Gwern Branwen

On Thu, Aug 6, 2009 at 10:01 AM, Sean Leatherleat...@cs.uu.nl wrote:


On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:


On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:


Which requires registration and has not been open for registration for
some
time now.


It's been open for registration for some time now.


In that case, how about changing the site notice[1] from Note: new account
creation has been disabled as an anti-spam measure, which seems to indicate
otherwise, to something more informative. Alternatively, add an informative
link to the login page[2] and clear the site notice.

Regards,
Sean

[1] http://www.haskell.org/haskellwiki/MediaWiki:Sitenotice
[2] http://www.haskell.org/haskellwiki/Special:Userlogin



Only admins can edit the sitenotice, and the only active admin is Ashley, who I 
emailed earlier about this.

--
gwern

signature.asc
Description: OpenPGP digital signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-06 Thread Magnus Therning
On Thu, Aug 6, 2009 at 3:01 PM, Sean Leatherleat...@cs.uu.nl wrote:

 On Thu, Aug 6, 2009 at 15:52, Gwern Branwen wrote:

 On Thu, Aug 6, 2009 at 9:36 AM, Jake McArthur wrote:

 Which requires registration and has not been open for registration for
 some
 time now.

 It's been open for registration for some time now.

 In that case, how about changing the site notice[1] from Note: new account
 creation has been disabled as an anti-spam measure, which seems to indicate
 otherwise, to something more informative. Alternatively, add an informative
 link to the login page[2] and clear the site notice.

If you click the link (new account creation) you will be lead to the
information about how to get an account.  Perhaps not the best way to
lead people to that info, but it's all there.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] A mistake in haskellwiki

2009-08-05 Thread L.Guo
Hi haskellers:

There is a mistake in http://www.haskell.org/haskellwiki/State_Monad

It post two functions like this :

  evalState :: State s a - s - a
  evalState act = fst $ runState act

  execState :: State s a - s - s
  execState act = snd $ runState act

Both the '$' operators should be '.'.

Anyone would correct it ?

Regards
--
L.Guo
2009-08-06

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A mistake in haskellwiki

2009-08-05 Thread Don Stewart
leaveye.guo:
 Hi haskellers:
 
 There is a mistake in http://www.haskell.org/haskellwiki/State_Monad
 
 It post two functions like this :
 
   evalState :: State s a - s - a
   evalState act = fst $ runState act
 
   execState :: State s a - s - s
   execState act = snd $ runState act
 
 Both the '$' operators should be '.'.
 
 Anyone would correct it ?


Well, it's a wiki ... :-)

-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe