Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module - Resolved

2016-10-22 Thread Ian Thomas
On Saturday, October 22, 2016 at 2:34:29 PM UTC-4, Jon Zeppieri wrote: > I changed the tzinfo and tzdata packages to remove the dynamic-require > behavior. If tzdata is installed, then tzinfo will use the data and will > define a runtime path list referring to the data files, so this should work

Re: [racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Daniel Prager
> circle of recursion I reckon "helix of recursion" would be a more helpful image. Dan -- 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

Re: [racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Robby Findler
On Sat, Oct 22, 2016 at 3:05 PM, wrote: > Robby Findler [16-10-22 21:28]: >> You need to follow the design recipe to solve a problem like this. You >> data is clear: [Listof [Listof Real]] and [Listof Real]. Next up: >> examples. Do you have

Re: [racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Justin Zamora
A clue to the answer is in your statement that you "feed that [maximum] into the next circle of recursion." Notice that you're not overwriting the value in the current call, you're creating a new value that you feed into the new call in the "next circle". So the old one isn't being overwritten at

Re: [racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Philip McGrath
I'm not sure if I understand what you're tying to do correctly, but here's one way to do it (or one way to do something, at least): (define (process-list-of-lists list-of-lists) (apply map (λ args (apply max args)) list-of-lists)) (process-list-of-lists

Re: [racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Robby Findler
You need to follow the design recipe to solve a problem like this. You data is clear: [Listof [Listof Real]] and [Listof Real]. Next up: examples. Do you have examples of the inputs and outputs you want for this function? Robby On Sat, Oct 22, 2016 at 2:03 PM, wrote: > Hi,

[racket-users] Funtional programming and the maximum of something

2016-10-22 Thread Meino . Cramer
Hi, (I am still a newbie ... ) If I remember one rule of functional programming correctly, it says: Instead of changeing data - create new data. Suppose I have a list of list. Each "sublist" is made of a greater amount (but identical count) of exact numbers (integers). I want to process

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module - Resolved

2016-10-22 Thread Jon Zeppieri
I changed the tzinfo and tzdata packages to remove the dynamic-require behavior. If tzdata is installed, then tzinfo will use the data and will define a runtime path list referring to the data files, so this should work with `raco exe` now without needing to modify anything. Ian, if you have the

Re: [racket-users] Re: opinions on YAML as communication tool

2016-10-22 Thread 'John Clements' via Racket Users
> On Oct 21, 2016, at 14:00, Jack Firth wrote: > > If you'd still like to use yaml, I would like to quietly point out that each > of the following is a valid boolean value in yaml: > > - true > - false > - yes > - no > - y > - n > - True > - False > - TRUE > - FALSE > -

Re: [racket-users] opinions on YAML as communication tool

2016-10-22 Thread Stefan Schmiedl
'John Clements' via Racket Users (21.10. 16:32): > > > On Oct 21, 2016, at 12:42 PM, Tony Garnock-Jones wrote: > > > > You know how Excel guesses whether things are dates or not and messes > > things up as a consequence? YAML does that too. YAML does not guess, the