scheme
Passing an empty list to a defined-type: possible?
A rookie Racket question. I\'m using Krishnamurthi\'s PLAI textbook for this one, and the associated Racket programming language.[详细]
2023-04-05 23:16 分类:问答Translating a Lambda Expression into Scheme
I 开发者_JAVA百科have this lambda lambda expression : λx.(λy.(λz.x(yz))) I\'m trying to write a Scheme expression out of it.[详细]
2023-04-05 12:58 分类:问答Scheme: Lists of three dotted elements returning strangely (like an infix operator?)
I am a new Scheme/Racket student, so please excuse any blatant syntax errors. It came up in class today that the scheme list \'(a, b, c) should be invalid, but when we ran it, it returned:[详细]
2023-04-05 05:33 分类:问答Iterating in Scheme
Let\'s say that I have a list of lists in Scheme, like so: (define a-list(list (list a b) (list c d) (list e f) (list g h) (list i j)))[详细]
2023-04-05 04:43 分类:问答is SICP still recommended? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-04 22:02 分类:问答Scheme: change value of an element in a list
I hate using SO as a way to find simple functions, but I really can\'t find a function like this anywhere:开发者_如何学JAVA[详细]
2023-04-04 16:52 分类:问答mappend! can't append element to the list if the list is empty?
(require racket/mpair) (define (bld-mlst . args) (list->mlist args)) (define mlst-my (bld-mlst)) mlst-my[详细]
2023-04-03 15:09 分类:问答Dynamically find out how many inputs a function has, Racket
Is there a way to find out at ru开发者_Go百科ntime, how many inputs (arguments, parameters) a function has?[详细]
2023-04-03 04:25 分类:问答Racket: using events in a frame% window
I\'m learning Racket (formerly PLT Scheme, a LISP dialect) and try to discover how to handle events different than paint-callback (maybe it\'s not even one).[详细]
2023-04-02 09:35 分类:问答Flatten a list using only the forms in "The Little Schemer"
I\'m going through The LIttle Schemer to learn Scheme (as an old C 开发者_StackOverflow社区programmer) and as an exercise I tried to write a procedure to flatten a list using only the forms in The Lit[详细]
2023-04-02 09:02 分类:问答