On Friday, June 2, 2017 at 10:38:35 PM UTC+1, johnbclements wrote:
> > On Jun 2, 2017, at 2:32 PM, 'Ross Mckinlay' via Racket Users
> > wrote:
> >
> > Hello Racketeers!
> >
> > I just released an early version of my first real Racket project, which
> > extends Racket to become a 6502 assembler
> On Jun 2, 2017, at 2:32 PM, 'Ross Mckinlay' via Racket Users
> wrote:
>
> Hello Racketeers!
>
> I just released an early version of my first real Racket project, which
> extends Racket to become a 6502 assembler. Thought I would share it here:
>
> http://pinksquirrellabs.com/blog/2017/05/
Hello Racketeers!
I just released an early version of my first real Racket project, which extends
Racket to become a 6502 assembler. Thought I would share it here:
http://pinksquirrellabs.com/blog/2017/05/30/asi64/
Thanks!
--
You received this message because you are subscribed to the Google
On 06/02/2017 02:05 PM, David Storrs wrote:
> Suppose I have the following:
> [...]
One possible option is http://pkgs.racket-lang.org/package/struct-defaults:
~$ racket
Welcome to Racket v6.6.0.4.
> (require struct-defaults)
> (struct my-exn exn:fail ())
> (define-struct-defaults mk-my-exn my-ex
The dispatch pattern is special syntax, not an expression, so you need to
write a macro. To get started,
(define-syntax-rule (add-route route method proc)
(dispatch-rules! main-container
[route #:method method (proc)]))
would work. You can get better error reporting if you us
Thanks again, I think I got how to use it now.
Here is my example:
(define-container main-container (hsk-dispatch a-url))
(dispatch-rules! main-container
[("") #:method "get" overview-app])
(dispatch-rules! main-container
[("index") #:method "get" overview-app])
This is great! I'm excited to read more of your book.
Sam
On Fri, Jun 2, 2017 at 2:03 PM, Vincent Nys wrote:
> Hi,
>
> I recently read Beautiful Racket and I found it very inspiring, so I started
> my own Racket project book using Pollen. I'm not a great programmer, but
> that's the point.
>
>
Hi,
I recently read Beautiful Racket and I found it very inspiring, so I started my
own Racket project book using Pollen. I'm not a great programmer, but that's
the point.
Please have a look at it at http://users.telenet.be/vincent-nys/index.html.
Feedback is welcome, preferably through
https
Suppose I have the following:
In the REPL:
> (struct exn:fail:db exn:fail ())
> (struct exn:fail:db:num-rows exn:fail:db ())
> (struct exn:fail:db:num-rows:zero exn:fail:db:num-rows <...something...>)
> (define failed (exn:fail:db:num-rows:zero))
> (exn? failed)
#t
> (exn:fail:db? failed)
#t
> (ex
On Fri, Jun 2, 2017 at 5:53 AM, Zelphir Kaltstahl
wrote:
> This does seem like what I want. Thank you!
> Can you point me to any part of the documentation, which explains what the
> parameters to dispatch-rules! are? They are named differently than the ones
> to dispatch-rules, I guess for a rea
Are there any particular algorithm you are interested in?
Anyways, back to bindings for GSL. Noel Welsh has bindings for an older
version of GSL.
It could be a starting point for making a new version
https://github.com/noelwelsh/mzgsl
Note also this old thread:
https://groups.google.com/
On Thursday, June 1, 2017 at 10:43:13 PM UTC+2, Jay McCarthy wrote:
> I believe that you want `dispatch-rules!` rather than `dispatch-rules`
>
> http://docs.racket-lang.org/web-server/dispatch.html?q=dispatch-rules#%28part._.Imperative_.Dispatch_.Containers%29
>
> This lets you define a container
On Friday, June 2, 2017 at 3:24:12 PM UTC+10, Konrad Hinsen wrote:
> On 02/06/17 02:50, Alasdair McAndrew wrote:
>
> > I have been experimenting with the bigfloat library, which I understand to
> > be a wrapper for the GNU MPFR library. And it works well. But I'm
> > wondering if anybody's giv
13 matches
Mail list logo