F# implementation of SelectMany and TakeUntil (from Rx) on F# events
19 people like thisPosted: 13 years ago by Ankur Dhama
Function to generate circular infinite sequence from a list
21 people like thisPosted: 13 years ago by Ankur Dhama
Simple HTTP server with Async workflow and Http Listener
11 people like thisPosted: 13 years ago by Ankur Dhama
Code to parse HTTP chunked response, to use as a client to a Comet server who uses chunked encoding to transfer real time notification data
3 people like thisPosted: 13 years ago by Ankur Dhama
The snippet shows implementing object orientation using mail box processor. In this context object orientation have this simple definition: "Objects acts on message passing". The objects created this way are thread safe too :). Not sure how much practical this would be in todays context where object oriented has gone the wrong way.
27 people like thisPosted: 13 years ago by Ankur Dhama
Lazy string based on seq
Posted: 13 years ago by Ankur Dhama
Seq.filter with accumulator, without using mutable or ref.
2 people like thisPosted: 13 years ago by Ankur Dhama
F# Future using lazy and a threading event. Supports creating futures from functions or asyncs. Eager evaluation of can be specified.
4 people like thisPosted: 13 years ago by Ankur Dhama
Split sequences based on a predicate.
3 people like thisPosted: 13 years ago by Ankur Dhama
Generic batch job processor using Mail box processor. Sending quit message using PostAndReply will ensure that all jobs are completed before returning. (Exception handling is responsibility of the job)
6 people like thisPosted: 13 years ago by Ankur Dhama
Sample code which demonstrate tree searching using : Tail recursion with continuation
16 people like thisPosted: 13 years ago by Ankur Dhama
Function to generate all possible combinations where combination "ab" is different then "ba"
6 people like thisPosted: 13 years ago by Ankur Dhama
Merge two events in one event to move over a list. Can be used to implement a wizard / slider mechanism
17 people like thisPosted: 13 years ago by Ankur Dhama
Simple Object orientation using Record types. No complex - private public internal virtual abstract object oriented programming :)
6 people like thisPosted: 13 years ago by Ankur Dhama
Solution to the problem mentioned at : http://professor-fish.blogspot.com/2011/01/tiny-bit-of-denotational-semantics.html
1 people like thisPosted: 13 years ago by Ankur Dhama
Tree implementation using sequences.
3 people like thisPosted: 13 years ago by Ankur Dhama
Select n elements in group from seq
2 people like thisPosted: 13 years ago by Ankur Dhama
Seq group continuous matching elements [1;1;1;2;2;2] will become [ [1;1;1] ; [2;2;2] ]
3 people like thisPosted: 13 years ago by Ankur Dhama
Take value from a sequence only when it changes (based on a predicate). Ex: Seq [1;1;1;3;3;3;5;5;5] will result in [3;5]
1 people like thisPosted: 13 years ago by Ankur Dhama
Rx CombineLatest for list of IObservable<'a> to IObservable<'a array>.
13 people like thisPosted: 13 years ago by Ankur Dhama