Re: [racket-users] Programming paradigms
On Thursday, February 16, 2017 at 9:46:53 PM UTC+5:30, David K. Storrs wrote: > I find PP to be a useful tool for thinking about programming, but not > terribly significant in everyday use -- my code will typically end up as a > mixture of functional, declarative, procedural, and OO. The fact that Racket > makes it easy to mix all of these is one of its many appeals. If you had said aspects I would have agreed Appeal?? Not so sure Take python One can (as a user) use a facility f(x,y) or x.f(y) And so as a programmer this choice exists: Which form of f should I provide? Sure this choice exists but are there not more important choices for a student (especially a beginner) to grapple with? More trivially (no I am not being facetious): def f(x): return x and def g(x): print x SEEM to be the same And its an unnecessary time waster for teachers to have to tell students to prefer the first over the second — hard given all the zillions of print "Hello World" in existence See also Paradox of Choice: https://en.wikipedia.org/wiki/The_Paradox_of_Choice [Ironically a wikipedia link] And thanks Matthias for the Sriram paper and book -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] typed racket syntax
Racket being a lisp its fine that we write (: v t) where the rest of the world writes v : t But what is (: v : t) ?? A bit be-fuddled? ref: https://docs.racket-lang.org/ts-reference/special-forms.html#%28form._%28%28lib._typed-racket%2Fbase-env%2Fprims..rkt%29._~3a%29%29 Also how would I go about fashioning a subrange type a la Pascal? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Hello
Used PC-Scheme many years ago... and then guile for a bit... Pleasant coming back to scheme! Some questions: 1. I am not able to clearly make out what the different semantics of the different teachpacks are. Would like summaries - for an old schemer (myself) - new people I am coaching 2. I am interested in creating environments such as python's numpy, ipython etc. Is it possible/easy to build on (steal!) DrRacket environment to make - new REPLs - new environments -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.