Re: [racket-users] Re: Web Server Racket

2015-11-05 Thread João Martins
Solved, thank you. The first example explained worked perfectly. http://docs.racket-lang.org/web-server/dispatch.html 2015-11-05 23:23 GMT-02:00 João Martins : > How can I adapt this code > http://docs.racket-lang.org/more/step5.txt > > to get Fibonnaci and the value that will be passed in the

Re: [racket-users] More concise testing in PLT Redex? (new redex-chk pkg)

2015-11-05 Thread 'William J. Bowman' via Racket Users
Thanks, I've been meaning to do something about this for months! Do they make use of `default-equiv`? -- William J. Bowman On Wed, Nov 04, 2015 at 05:50:01AM -0800, Andrew Kent wrote: > Dear other PLT Redex users, > > Do you have any clever tricks/tools to make testing in PLT Redex > more pall

[racket-users] Re: Web Server Racket

2015-11-05 Thread João Martins
How can I adapt this code http://docs.racket-lang.org/more/step5.txt to get Fibonnaci and the value that will be passed in the url. -- 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

Re: [racket-users] Web Server Racket

2015-11-05 Thread Jay McCarthy
Your teach may intend for you to do it a hard way, but the trivial way is use the dispatch system: http://docs.racket-lang.org/web-server/dispatch.html The first example is more than you need. I suggest asking your teacher if they had something more complicated (and instructive) in mind though.

[racket-users] Web Server Racket

2015-11-05 Thread João Martins
I am doing a university project and need to create a server racket. The purpose of this server is that from a URL we perform following function, eg: http: // localhost: 8080 / fibonacci / 10 So when I access this URL, I need to get the string "fibonacci" and the value 10 so you can call the fib

Re: [racket-users] Evaluating whatever expression halfway a debugging session

2015-11-05 Thread Matthias Felleisen
Yes, I agree that Mist is what is out there when I look a things such as node.js and other works of art that re-discover continuations and friends. I spent the first N years of my research life thinking and publishing about continuations. Simple conclusion: call/cc is not it. I introduced deli

Re: [racket-users] Contract error when installing Gregor

2015-11-05 Thread 'William J. Bowman' via users-redirect
On Tue, Nov 03, 2015 at 06:59:15PM -0500, Jon Zeppieri wrote: > I think it's far more likely to be a bug in my detection code. > > So, your /etc/localtime should be a symlink. What path does it point > to? And, in particular, is the path that it points to absolute or > relative? > On my system, I

[racket-users] Package installation scopes to avoid reinstalls

2015-11-05 Thread Jonathan Schuster
Is there such a thing as a user-specific but non-version-specific installation scope for packages? The docs [1] appear to indicate that you can have user+version-specific or non-user+non-version-specific installs, but neither of the other two combinations. The main problem is that it's a (minor) p

Re: [racket-users] Virtual files

2015-11-05 Thread Stephen De Gabrielle
It occurs to me that if I treat my file system as a database I am making assumption about locking and access that may not be consistent across file systems - but the operations are so fast and writes are so rare that this is unlikely to be an issue I ever experience with my little web app. I also

Re: [racket-users] Re: Reliable equality testing of procedures

2015-11-05 Thread Erich Rast
> (struct measure (measuring-proc maximum-proc) > #:prop prop:procedure (struct-field-index measuring-proc)) > > (define footrule (measure footrule-proc footrule-maximum)) > Thanks a lot! I didn't know about this option. That seems like a good way of embedding the information into the measure

Re: [racket-users] embedded Racket + runtime paths = ?

2015-11-05 Thread Dmitry Pavlov
Matthew, I am reviving this 6-week-old discussion about raco and runtime paths. That time, I did not go through with it on Windows. In my Windows build, I used raco ctool without the --runtime option, leaving the library tied to absolute paths in the system. Now I am willing to accomplish the s

Re: [racket-users] Evaluating whatever expression halfway a debugging session

2015-11-05 Thread Marco Faustinelli
First thing, thank you all for the consideration you're giving to my request. A bit of background. I'm studying the meaning of continuations and their role in building useful constructs; think at generators/iterators/coroutines, as they're coming to JavaScript. I am kind of smelling already that c