Coder Profile - Show off your skills, get a coder profile.
 
 
 
User Name neko-mangaka
Unique Hits 1,118
Real Name Chris Bouchard
Location United States
New York
Occupation Web Developer
Gender Male
Age 24 Years Old
WebSite infothruway.net
Post A Profile Comment
Some Random Friends
  view more
Seachmall
Darragh G.
ComputerWiz
 
funkyjunky
Ed George
Recently Added Articles
  view more
Currying in JavaScript: Fun for the Whole Family!
Programming
As I've said before, I'm quite partial to JavaScript. Lately, I've been reading about currying functions, so let's see if currying can be done in JavaScript. The begs the question, What is currying? Currying is a technique to transform a function that takes some number of arguments to a function that takes fewer. The process was named after the logician Haskell Curry. The goal is to get something that works like this: When we pass fewer than the required number of arguments, it returns a function that takes the remaining arguments. Once we pass the correct number of parameters, it evaluates the function. Before possibly reinventing the wheel, I looked online to see if anyone had done this. While there are plenty of JavaScript functions that claim to curry, they all get it wrong. They do something like this (using the same add from above): They do get the add_3 function in the end, but all they do is create a new function with View In Full
7 Comments 9.00 out of 10
Recently Added Source Codes
  view more
Splitting a list recursively in Scheme
Language Posted Comments
Scheme 3.68 Years Ago 1
Rating Downloadable Plain Text
7.00 - - - 1,660 Chrs
If you're like me, you've been programming in Scheme and wanted to split a list into sub-lists of [semi]-equal length. I'm sure there's a library function to do this (I didn't even look), but I wanted
Tail Call Optimization
Language Posted Comments
JavaScript 4.2 Years Ago 3
Rating Downloadable Plain Text
9.00 - - - 1,820 Chrs
A big problem in JavaScript is recursion. As a functional programming language, recursion is a natural way to express many algorithms. Unfortunately, most browsers have atrociously short function ca
Profile Comments
  
Please login to post comments.
 
VBAssassin     Posted 4.3 Years Ago
 
 
Hi ya mate,

I recognize you from Deviant Art :-) nice to have you on here. Gonna PM ya.

Kind regards,
Scott
Page 1 of 1
Chris Bouchard (24)
United States, New York
neko-mangaka has 0 fans
become a fan
» Applications
Articles Articles (1)
Source Codes Source Codes (2)
» About Me
About Me About Me
Friends Friends (6)
» Misc
Overview Overview
Send A Friend Invite
Send Message Send A Message
RSS Whole Profile Feed
 
 
Latest News About Coder Profile
Coder Profile Poll
Which sounds better on your coder profiles, and makes more sense to you (think twitter, facebook, etc)?

Followers / Following
Fans / Following
Fans / Fan Of


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.48 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved