[racket-users] Thank you Racket!

2018-08-24 Thread Jérôme Martin
I just read the article by Matt that was posted on Hacker News (http://felleisen.org/matthias/OnHtDP/index.html) and I wanted to take the time to thank you all in the PLT/Racket team. Thank you for trying (and achieving!) to bring a new approach to teaching computer science. Improving teaching

Re: [racket-users] Thank you Racket!

2018-08-24 Thread Matthias Felleisen
For everyone else, the essay is NOT about Turing/the language or Turing/the man but Turing, the concept. And because it is true that we have monopoly power over students here, not a single required course forces students to use Racket. In our freshman course we use the teaching languages,

Re: [racket-users] Get contract from function

2018-08-24 Thread Alex Knauth
> On Aug 24, 2018, at 8:50 AM, Joao Pedro Abreu De Souza > wrote: > > Hi. I am contributing in a library that create functions to parse PEG(parsing > expression grammar). To implement a feature, I need to know the return's type > of a function. We are using racket, not typed-racket, so I

Re: [racket-users] Get contract from function

2018-08-24 Thread Robby Findler
Perhaps object-contract? Note that this might not return a contract, however, in which case, the function might return anything. Robby On Fri, Aug 24, 2018 at 7:50 AM Joao Pedro Abreu De Souza wrote: > > Hi. I am contributing in a library that create functions to parse PEG(parsing >

Re: [racket-users] Thank you Racket!

2018-08-24 Thread Matthias Felleisen
> On Aug 24, 2018, at 5:50 AM, Jérôme Martin > wrote: > > I just read the article by Matt that was posted on Hacker News > (http://felleisen.org/matthias/OnHtDP/index.html) and I wanted to take the > time to thank you all in the PLT/Racket team. > > Thank you for trying (and achieving!) to

[racket-users] Get contract from function

2018-08-24 Thread Joao Pedro Abreu De Souza
Hi. I am contributing in a library that create functions to parse PEG(parsing expression grammar). To implement a feature, I need to know the return's type of a function. We are using racket, not typed-racket, so I think that I need to get the contract or something like that. I dont see in the

Re: [racket-users] Thank you Racket!

2018-08-24 Thread Sanjeev Sharma
"Turing is useless" ... While I worked as a programmer I used to complain quite bitterly about university comp sci departments that had NIH (not invented here) syndrome and a captive audience. I learned Turing as my 2nd programming language. I'm sure the only reason it could have been

Re: [racket-users] Thank you Racket!

2018-08-24 Thread Sanjeev Sharma
I didn't realize (though I should have) that the comment could be taken that way. I realize you were not writing anything about the Turing language, but the title of the essay triggered some memories for me of what my classmates and later my professional colleagues used to talk about. And

[racket-users] Let's organize a Scheme European Event at FOSDEM 2019

2018-08-24 Thread amz3
Hello *Racketeers,* Let's organize a Scheme event at FOSDEM 2019 in Bruxelles. I started a page on the wiki @ http://community.schemewiki.org/?FOSDEM2019 You can edit the wiki page. The goal of that page is to gather enough talk ideas to be able to submit a proposal for a developer room at

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Neil Van Dyke
Ben Kovitz wrote on 08/24/2018 10:04 PM: I noticed the separate User's Guide and Reference, and indeed that's one reason I'm considering Racket for practical use right now. The separation of a Guide is good for a read-through, like on the train, when first exposed to a system.  *But*, for

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Ben Kovitz
On Friday, August 24, 2018 at 9:33:12 PM UTC-4, Robby Findler wrote: > The racket documentation is organized into two documents. > … > Guide: http://docs.racket-lang.org/guide/define-struct.html > > Reference: http://docs.racket-lang.org/reference/define-struct.html I noticed the separate

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Robby Findler
The racket documentation is organized into two documents. One that is intended to be the useful, commonly-used bits (called the guide) and one is intended to be comprehensive, showing every possibly knob and button (called the reference). If you don't know about that, it can be easy to flip into

[racket-users] racket meetup: november 8, 2018 in frankfurt, germany

2018-08-24 Thread jesse
I'll be hosting a Racket meetup in a couple of months. It'll be held on Thursday, November 8, from 18:30 to 20:30 in Frankfurt, Germany. More information (agenda, location, etc.) can be found at https://afterworkracket.com/1 Racketeers in Germany, or any of you who'll by chance be around

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Miodrag
:transparent is definitely mentioned in the guide chapter on structures, maybe ch 5 On Fri, Aug 24, 2018 at 8:15 PM Ben Kovitz wrote: > On Thursday, August 23, 2018 at 2:49:32 PM UTC-4, David K. Storrs wrote: > > For me, the first resorts in Racket are list and hash. If I'm going to do >> any

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Ben Greenman
The Racket Cheat Sheet might help: http://docs.racket-lang.org/racket-cheat/index.html -- 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] From Clojure to Racket

2018-08-24 Thread Ben Kovitz
On Friday, August 24, 2018 at 8:39:43 PM UTC-4, Miodrag Milenkovic replied to me: >> Ah, thanks! I spent about an hour trying to figure out inspectors and didn't get anywhere, and I never would have guessed that :transparent means to make the struct printable. This is the kind of thing I'm

Re: [racket-users] Thank you Racket!

2018-08-24 Thread Hendrik Boom
On Fri, Aug 24, 2018 at 07:50:26AM -0700, Sanjeev Sharma wrote: > "Turing is useless" ... > > While I worked as a programmer I used to complain quite bitterly about > university comp sci departments that had NIH (not invented here) syndrome > and a captive audience. > > I learned Turing as

[racket-users] Get contract from function

2018-08-24 Thread Joao Pedro Abreu De Souza
The library is with a problem that is when manage the * operator(greedy repeat), if the term that is repeat would be a string, then he returns a empty string, that is the equivalent of a rule that always match but without consume anything. If the term that is repeat would be other thing, the *

Re: [racket-users] From Clojure to Racket

2018-08-24 Thread Ben Kovitz
On Thursday, August 23, 2018 at 2:49:32 PM UTC-4, David K. Storrs wrote: For me, the first resorts in Racket are list and hash. If I'm going to do > any heavy lifting with it then I move to struct: > > (hash 'username 'bob 'age 18) ; quick and easy, works well with database, > useful print