rightfold

The Kingdom of the Netherlands

rightfold.sexy

Age: 20

I am a pretty good programmer.

9h
answered What's the point of the back piping operator
11h
revised Read lines from text file in go, with bufio.reader
dude, use gofmt
13h
comment How do purely functional compilers annotate the AST with type info?
@fredoverflow given val x = new T, x is really a pointer, so you can just use that as the identity. Use eq instead of ==, and System.identityHashCode instead of Any#hashCode.
13h
comment How do purely functional compilers annotate the AST with type info?
@fredoverflow In languages with intrinsic identity (such as C++ and Scala, but unlike Haskell), you can do that. However, this doesn't play well with copying (such as copy in Scala on a case class, or with in F#) since copies have different identities from the originals.
16h
comment Using the twitter bootstrap 3 basic navbar semantically
This does not work with navbar-brand.
1d
comment Avoiding lift with Monad Transformers
It's unfortunate so much boilerplate is needed.
1d
comment Resource scheduler program
Why do people not look at the preview before they post the question?
2d
revised Order of constructor and destructor calling?
edited tags
2d
revised How do purely functional compilers annotate the AST with type info?
deleted 34 characters in body
2d
comment const & (ref) used in template parameter
Your question is vague as the origin of the universe. What is the context of this code? Non-type template parameters of reference type are really rare and obscure.
Apr
23
comment Is it OK to answer to old questions?
If it weren't allowed, why'd it be possible?
Apr
23
awarded Deputy
Apr
23
comment Not finding documents using golang's mgo with partial attributes
Well, one odd thing I see in the code is that it doesn't compile since 'foo' results in a syntax error.
Apr
23
revised Not finding documents using golang's mgo with partial attributes
edited tags
Apr
22
revised Goroutines or locks for concurrent clients
added 86 characters in body
Apr
22
revised Goroutines or locks for concurrent clients
added 659 characters in body
Apr
22
revised Goroutines or locks for concurrent clients
edited tags
Apr
22
answered Goroutines or locks for concurrent clients
Apr
22
revised Create new sequence from existing
deleted 5 characters in body
Apr
22
answered Create new sequence from existing
1 2 3 4 5