hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

Some nice-to-haves...that may exist?

Last post 04-01-2008, 0:41 by Kurt. 0 replies.
Sort Posts: Previous Next
  •  04-01-2008, 0:41 5620

    Some nice-to-haves...that may exist?

    Hi,

    I'd like to see the following 'stuff' (small and huge)'in F#. If it already exists, please let me know!

    0) Identitity function in the core libs
    let id = fun x -> x

    1) A tuple constructor function (like in haskell (,) a b = (a,b) )
    I seem to be writing fun a b -> (a,b) and derivatives quite often.

    2) A real MSBuild project type for F# projects integrated in visual studio. It came as a surprise to me that while MS is trying to standardize on MSBuild, the F# team chose a proprietary project file format.

    3) Haskell like type classes and higher order types...is it just me, or does the "computation expression" syntax looks very ad-hoc right now? It feels like a macro really.E.g. the programmer can't define extra operators on monads, like sequence, liftM etc

    I'm porting some code from haskell, so no wonder these are haskell inspired. The more I learn haskell, the more I wish other languages are like haskell ;)

    cheers,

    Kurt
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems