CodingFunctional programming

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  THERE IS NO GOD BUT (RENDLE)   
 To:  Rowan     
34064.26 In reply to 34064.25 

Pedant. You can do stuff like currying and partial application, too.

 

Anyway, like I said, C# 3.0 has FP-ish elements, but I agree they're all pretty much syntactic sugar. Which is why I've got F# to play with too, because it's proper functional, being a .NET CLR implementation of CaML. You can actually do defines which allow mutable variables, but immutable is the default. And it does proper function list handling, without stacks and all that nonsense.


Dance like it hurts; Love like you need the money; Work when people are watching.
0/0
 Reply   Quote More 

 From:  Rowan  
 To:  THERE IS NO GOD BUT (RENDLE)      
34064.27 In reply to 34064.26 
Mm. I had to do ML at uni. It's pretty much evil to it's core, I decided. And whenever you want to do something good, you just call a C library anyway...
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)   
 To:  Rowan     
34064.28 In reply to 34064.27 
I wouldn't want to try to achieve anything major using it. Could be quite useful for calling from imperative code for doing stuff like stream processing though.

Dance like it hurts; Love like you need the money; Work when people are watching.
0/0
 Reply   Quote More 

 From:  Rowan  
 To:  THERE IS NO GOD BUT (RENDLE)      
34064.29 In reply to 34064.28 
Rendle and Haskell, sitting in a tree, R-E-C-U-R-S-I-N-G! :O
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)   
 To:  Rowan     
34064.30 In reply to 34064.29 
Too many languages, too little time.

Dance like it hurts; Love like you need the money; Work when people are watching.
0/0
 Reply   Quote More 

Reply to All    
 

1–20  21–30

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats