freenode/lisp - IRC Chatlog
Search
16:56:52
max3
pjb what's the point of that? i don't have much experience but i thought relying on currying was an implementation detail? ala all of haskell's function are actually curried
16:57:20
max3
but the syntax doesn't need to explicitly show it (you can parens wrap -> in type defs for functions)
17:00:50
pjb
And of course, it's worse when you combine that with arrays, functions, structures, etc.
17:02:04
max3
i'll move to scheme in a second but - is currying the only way to define multi param functions in mit scheme? do you know?
17:03:40
pjb
(define (((a x) y) z) b) = (define ((a x) y) (lambda (z) b)) = (define (a x) (lambda (y) (lambda (z) b))) = (define a (lambda (x) (lambda (y) (lambda (z) b))))
17:03:51
max3
pjb yes of course but that's my point about haskell - the effect is multiparam functions
17:04:03
pjb
contrarily to some other functional programming languages, functions returning functions are not curried at call time.
17:18:37
phoe
(a 1) returns a function, this function is then applied to 2 and this application returns another function; that another function is then applied to 3
17:39:07
rpg
Do we believe that cl-json is no longer maintained? or am I just not finding the authoritative git repo. What I see on github.com/hankhero hasn't had any commits in 6 years.
17:44:47
theseb
Bike: I've never hard of "image based programming" until this channel from phoe...It bugs me that programmers all over the world can go their entire careers w/o ever learning about it
17:45:27
theseb
Bike: it isn't something that shows up enough that someone can even accidentally stumble upon it
17:45:30
phoe
there's ton of other things that many Lispers can never hear about and have satisfying programming careers
23:46:40
thmprover
Is there a slick way to hook into emacs, to create the "(defpackage <path-as-package> (:use :cl)) (in-package <package-name>)" automatically when creating a new lisp file in my system?
3:48:05
borei
quick question - is there any recommendation in regards to the library to work with date/time ?
3:53:28
edgar-rft
borei: depends on you requirements, for simple things Common Lisp has built-in stuff, but if you need astronomical precision over hundreds of years things start to become hairy, see http://naggum.no/lugm-time.html
3:55:58
edgar-rft
borei: an overview what's available can be found here -> https://www.cliki.net/time
4:00:22
edgar-rft
borei: Common Lisp has GET-INTERNAL-REAL-TIME giving times in INTERNAL-TIME-UNITS-PER-SECOND resolution, maybe that's sufficient for your needs?