Ganesh Sittampalam

St. Neots, United Kingdom

earth.li/~ganesh

Age: 35

Software developer with a strong interest in functional programming - mostly using F# at work and Haskell for hobby stuff.

In my spare time I'm one of the developers of darcs, and also a volunteer administrator for WhatDoTheyKnow.com.

13h
comment The reason for MonadState get and put?
Perhaps you should ask a new question, this seems a bit long for a discussion in comments.
21h
comment Perforce method for moving unsubmitted changes to another branch on Windows
Recent versions of Perforce allow you to unshelve a shelved changelist on a different branch, which would be ideal for your use case, but I don't think that will work with 2010.2
1d
comment The reason for MonadState get and put?
That's part of the internal plumbing of the State monad. The monadic output of put is of type () to indicate that it isn't a useful value.
Jul
23
comment Find all files, and copy them to a folder (Flatten recursively)
[Just in case anyone is confused by the joke, it actually means "restrict the find to files, as opposed to directories etc" :-)]
Jul
23
comment Visual Studio Online migration - Processing blocked earlier events
It's not really suitable for StackOverflow if it can't be answered by others. See meta.stackoverflow.com/questions/262729/… for some general discussion on the topic. I don't think all questions are being downvoted, just some of them.
Jul
21
comment Visual Studio Online migration - Processing blocked earlier events
The (now deleted) answer from OpsHub asks for log files to be emailed to validate that this is caused by an "issue with merge operation in version 1.0.1.001". Given that, it seems as if this question isn't answerable without further information.
Jul
21
reviewed Approve suggested edit on Verizon and I disagree about the duration of a contract. Do I have any recourse?
Jul
19
answered How to deal with option values generically in F#
Jul
17
reviewed Leave Open All possible combinations for commodity spread
Jul
17
reviewed Close How do I even start investing?
Jul
14
comment Rails 3 authentication plugin suggestions?
possible duplicate of Rails 3 authentication solutions
Jul
14
comment PureScript FFI to mocha
Is this question about Haskell at all (apart from Purescript being written in it)? It'd probably be better to avoid the haskell tag if not, as it's a bit confusing.
Jul
13
comment Generic data constructor for Data instance
Just noticed dataTypeConstrs which simplifies things further
Jul
13
revised Generic data constructor for Data instance
simpler version
Jul
13
revised Generic data constructor for Data instance
Provide a shorter definition of `gconstr`
Jul
13
comment Generic data constructor for Data instance
The Applicative also means you can partially apply directly in the gunfold call, which in turn makes it reasonable to inline gconstrn into gconstr - the list comprehension result just becomes gunfold (<*> cast arg) Just (indexConstr dt n). I think that probably swings it.
Jul
13
comment Generic data constructor for Data instance
Yes, it looks nice, but I think it would have confused me if I'd been reading it that way to begin with. The Applicative is more appealing though.
Jul
13
answered Generic data constructor for Data instance
Jul
13
awarded Yearling
Jul
13
awarded Yearling
1 2 3 4 5