Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-19 Thread George Neuner
And one by our own Jay McCarthy (with Neil Toronto) https://www.computer.org/cms/Computer.org/ComputingNow/issues/2014/10/mcs2014040080.pdf -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emai

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-19 Thread George Neuner
On 1/19/2019 10:37 PM, David Storrs wrote: On Fri, Jan 18, 2019, 6:36 PM George Neuner wrote:  witness the legions of newbies every year who don't understand that computer arithmetic differs from the math they were taught in school. Does it? Bit

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-19 Thread Ellen Spertus
On Sat, Jan 19, 2019 at 7:37 PM David Storrs wrote: > > > On Fri, Jan 18, 2019, 6:36 PM George Neuner >> >> witness the legions of newbies every >> year who don't understand that computer arithmetic differs from the math >> they were taught in school. >> > > Does it? Bit of a philosophical ques

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-19 Thread David Storrs
On Fri, Jan 18, 2019, 6:36 PM George Neuner > witness the legions of newbies every > year who don't understand that computer arithmetic differs from the math > they were taught in school. > Does it? Bit of a philosophical question, it seems. I mean, so long as you stick with integers, if you sta

Re: [racket-users] OpenGL in build w/ package server

2019-01-19 Thread Matt Jadud
Many thanks, Jay. I can work with that. On Sat, Jan 19, 2019 at 10:13 AM Jay McCarthy wrote: > This page talks about foreign library on the package build: > > https://pkg-build.racket-lang.org/about.html#foreign > > It's plausible the GLU is something common enough, we should install > it by def

Re: [racket-users] Collections and data structures wishlist?

2019-01-19 Thread Stephen De Gabrielle
Tables are pretty cool! https://www.pyret.org/docs/latest/tables.html On Fri, 18 Jan 2019 at 22:22, wrote: > When it comes to collections and data structures, what would you all like > to see in Racket2? New APIs? Changes to existing APIs? Whole new paradigms? > Something else? > > I've got my

Re: [racket-users] OpenGL in build w/ package server

2019-01-19 Thread Jay McCarthy
This page talks about foreign library on the package build: https://pkg-build.racket-lang.org/about.html#foreign It's plausible the GLU is something common enough, we should install it by default. On Sat, Jan 19, 2019 at 3:10 PM Matt Jadud wrote: > > Hi all, > > Is there a way to convince the p

[racket-users] OpenGL in build w/ package server

2019-01-19 Thread Matt Jadud
Hi all, Is there a way to convince the package server to build packages that rely on the OpenGL bindings? Perhaps something in the deps of info.rkt that I don't understand? raco setup: ffi-lib: couldn't open "libGLU.so.1" (libGLU.so.1: cannot open shared object file: No such file or directory)

Re: [racket-users] Examples of #:inv in Redex?

2019-01-19 Thread Robby Findler
The variables from the contract are bound only if they have underscores in them (because ones without underscores are not constrained to be the same when they appear in contract positions (or in define-language)). I've pushed a small clarification of this in the docs and below is a program that dem

Re: [racket-users] Collections and data structures wishlist?

2019-01-19 Thread Jack Rosenthal
On Fri, 18 Jan 2019 at 14:22 -0800, jackhfi...@gmail.com wrote: > When it comes to collections and data structures, what would you all like > to see in Racket2? New APIs? Changes to existing APIs? Whole new paradigms? > Something else? Maybe you'll need to clarify what Racket2 is? I am not familia

[racket-users] Requiring "introduced identifiers" to be explicitly declared

2019-01-19 Thread Sorawee Porncharoenwase
Is it possible to require "introduced identifiers" to be explicitly declared, and error otherwise? For instance: (define-syntax (swap stx) (my-syntax-parse stx [(_ x y) (with-syntax ([(tmp) (generate-temporaries #'(my-tmp))]) #'(begin (define tmp x) (set! x

Re: [racket-users] Collections and data structures wishlist?

2019-01-19 Thread jackhfirth
On Friday, January 18, 2019 at 11:50:48 PM UTC-8, Matthias Felleisen wrote: > > > On Jan 18, 2019, at 10:22 PM, jackh...@gmail.com wrote: > > > - A separation between using lists as homogeneous collections and using > lists as fixed-size tuples. So there'd be a separate `tuple?` data type > that