Sorted Map
18 people like thisPosted: 13 years ago by fholm
Ugly hack to call F# functions as static methods
4 people like thisPosted: 13 years ago by fholm
F# implementation of RO_ref from the "Effective ML" talk.
90 people like thisPosted: 13 years ago by fholm
This is the struct IronJS uses internally to do NaN-tagging of boxed values, using the technique described here http://blog.mozilla.com/rob-sayre/2010/08/02/mozillas-new-javascript-value-representation/ and here http://article.gmane.org/gmane.comp.lang.lua.general/58908
10 people like thisPosted: 13 years ago by fholm
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
76 people like thisPosted: 13 years ago by fholm
A function that efficiently creates a new string containing a given string multiple times. The function is implemented using .NET StringBuilder class.
8 people like thisPosted: 13 years ago by fholm
Perl Style "Regex Matches?" operator
49 people like thisPosted: 13 years ago by fholm
Compiler regression in VS2010-SP1 ?
30 people like thisPosted: 13 years ago by fholm
This is a search tree for strings I've built for work to back fast type-a-head for AJAX forms, it could be made million times more space efficient but there was no real need for it so.
4 people like thisPosted: 13 years ago by fholm
ML style module example
1 people like thisPosted: 13 years ago by fholm
Simple implementation of the rope data structure, http://en.wikipedia.org/wiki/Rope_(computer_science)
3 people like thisPosted: 13 years ago by fholm
Efficient Immutable String Concat
4 people like thisPosted: 13 years ago by fholm
for zec_ on irc
0 people like thisPosted: 13 years ago by fholm
Example of annoying enumeration syntax
13 people like thisPosted: 13 years ago by fholm
Nice thing you can do in F# that you can't do in C#, pulling a reference to an array element as a local var.
26 people like thisPosted: 13 years ago by fholm
Abstracts console input as an infinite sequence of lines of text
7 people like thisPosted: 13 years ago by fholm
Caching the function object created
20 people like thisPosted: 13 years ago by fholm
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
88 people like thisPosted: 13 years ago by fholm
Union constructors can be used as functions
17 people like thisPosted: 13 years ago by fholm
Hand-written efficient JavaScript lexer from the IronJS project https://github.com/fholm/IronJS
29 people like thisPosted: 13 years ago by fholm
A snippet that allows you to pretty print source code errors
20 people like thisPosted: 13 years ago by fholm
Nullable Refs without using AllowNullLiteral
3 people like thisPosted: 13 years ago by fholm
Wrapped Class/Interface Remark: better this way - see example
1 people like thisPosted: 13 years ago by fholm
Fast Concatenated String
2 people like thisPosted: 13 years ago by fholm
Async File Crawl
9 people like thisPosted: 13 years ago by fholm
Interface workaround for circular dependency problem
5 people like thisPosted: 13 years ago by fholm