|
Message Closed
modified 27-Jul-15 7:40am.
|
|
|
|
|
Message Removed
modified 27-Jul-15 7:40am.
|
|
|
|
|
Message Closed
-- modified 27-Jul-15 4:59am.
|
|
|
|
|
Do what?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Well said!
|
|
|
|
|
|
|
Bless you. Don't forget to wipe your nose.
|
|
|
|
|
Every now and then I read some religiously fervent blog which tells me I have been all wrong all that time, and it's well past time I convert to F#.
Mm.... More and more.
I had a few foray into F# a few years back. Was not really enthused. I know no one who used regularly!
What's all the hype about?!
[EDIT]
Just did some study...
I think F# is the C# vNext experimental lab. MS want people to use to have feedback on which feature is gonna make it in C#.
Thing is many revolutionary F# thing are just like the usual bread and better C# 4.6 features...
In a word, not to worry! ^_^
modified 27-Jul-15 1:28am.
|
|
|
|
|
I remember when it first made an appearance I took a look at it and there was a large wtf?
Never looked at it again!
Then when I was doing my OU studies and doing all the functional type stuff in AI, made me wonder........but nope, still never went back!
|
|
|
|
|
Just did some study...
I think F# is the C# vNext experimental lab. MS want people to use to have feedback on which feature is gonna make it in C#.
Thing is many revolutionary F# thing are just like the usual bread and better C# 4.6 features...
In a word, not to worry! ^_^
|
|
|
|
|
functional languages have their uses - they can be great for quickly building DSLs
|
|
|
|
|
Still in progress of grasping Haskell for this very purpose...
|
|
|
|
|
I am not sure Haskell is the way to go - that really is an experimental language - by design. Are you using Parsec?
OCaml is pretty good - here's a great tutorial for creating a compiler using a LLVM backend for a rather funky language:
http://llvm.org/docs/tutorial/OCamlLangImpl1.html[^]
|
|
|
|
|
Quote: I am not sure Haskell is the way to go - that really is an experimental language Do you mean it is unsuited for practical applications?
Quote: Are you using Parsec? Nope, I would like to use directly the language features instead.
Quote: OCaml is pretty good It is not the first time I see OCaml mentioned for this purpose.
Thank you for the advices.
|
|
|
|
|
Haskell can be used for practical purposes, I am just not sure it would be my first choice - although, and it's a while since I looked at it, they do issue a standard then publish the more experimental features as optional (I think GHC does that)
I think Parsec can be considered a language feature
|
|
|
|
|
Consider I am really a newbie on functional languages (Lua functional features sparked my curiosity). I have read several times functional languages features help a lot while writing a DLS compiler, so I start learning Haskell (without great luck, I have to say...) using GHC. In order to understand what are the advantages of functional languages over imperative ones I tend to avoid using what I consider a library (but my judgement on this may be wrong).
|
|
|
|
|
I don't think languages these days can be isolated from their core libraries - personally I often find using well built libraries as a great tool to learning the actual language - you get to see how experts have used it to define interfaces - that's a great help, particularly with function languages.
I am no FP expert either
|
|
|
|
|
In college, we had to use OCaml to build a compiler for "mini-Java" as they called it. It was essentially Java with a few of the more complex keywords taken out. At first it seemed rather complicated, but once you figured out how it worked, it was a pretty repetitive process for each keyword/operator.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
Speaking of which.. in what way is F# more functional that C# ?
|
|
|
|
|
|
At the very least!
|
|
|
|
|
No off-key remarks in the Lounge, please!
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Your reproach struck an unsymphatetic chord in me!
|
|
|
|
|
This may end on a sour note; I suggest that we give the subject a rest.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|