Skip to content

Instantly share code, notes, and snippets.

@bmaddy
bmaddy / gist:912632
Created April 10, 2011 19:17
Continuation monad in javascript
function M(){};
M.contResult = function(value){
return function(cont){
console.log('in result: ' + value);
return cont(value);
}
}
M.contBind = function(mValue, mFunc){
@ToJans
ToJans / CQRSAndBDDTogether.cs
Created November 24, 2010 16:49
Another attempt to combine cqrs and BDD
// another attempt to combine CQRS with BDD
// tojans@twitter
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
#region Domain commands
// POC CQRS bus for stateless synchronous commandhandlers
// and both both syncronous and asynchronous stateless eventhandlers
// Remarks : ToJans@twitter
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;