Re: [racket-users] graphical debugging

2020-08-29 Thread Catonano
Il giorno sab 29 ago 2020 alle ore 12:11 Sorawee Porncharoenwase < sorawee.pw...@gmail.com> ha scritto: > It (kinda) works for me. You should make sure that debugging is enabled in > the language setting (it should display something like “Language: racket, > with debugging [custom]” in the REPL).

[racket-users] graphical debugging

2020-08-29 Thread Catonano
in Drracket, I'm trying to debug this scrap of code #lang racket (require

Re: [racket-users] lsp server

2020-08-17 Thread Catonano
Il giorno dom 16 ago 2020 alle ore 15:48 Philip McGrath < phi...@philipmcgrath.com> ha scritto: > On Fri, Jul 31, 2020 at 2:46 PM Catonano wrote: > >> I'm playing with a toy project in #Racket >> <https://functional.cafe/tags/Racket> >> > I'd lik

Re: [racket-users] lsp server

2020-08-15 Thread Catonano
Il giorno ven 31 lug 2020 alle ore 21:33 Stephen De Gabrielle < spdegabrie...@gmail.com> ha scritto: > I don’t know anything about this but I believe > I just found how I need to load the main.rtk file from the lsp server project. That will start a lsp server answering through the pipe to the p

[racket-users] lsp server

2020-07-31 Thread Catonano
I'm playing with a toy project in #Racket I'd like to use the lsp server https://docs.racket-lang.org/racket-language-server/index.html How do I do that ? Should I require it from my project code ? Or is it meant to be installed "globally" ? And after tha

Re: [racket-users] Re: Andy Wingo's fold

2020-06-14 Thread Catonano
Il giorno ven 12 giu 2020 alle ore 10:57 Philip McGrath < phi...@philipmcgrath.com> ha scritto: > On Fri, Jun 12, 2020 at 2:46 AM Catonano wrote: > >> the original paper Andy Wingo refers to uses Haskell to express this >> operator and I can't read Haskell and I'

Re: [racket-users] Re: Andy Wingo's fold

2020-06-11 Thread Catonano
Hi Stephen, Il giorno lun 8 giu 2020 alle ore 16:34 Stephen De Gabrielle < spdegabrie...@gmail.com> ha scritto: > Hi Catonano > > Did you resolve this > > Kind regards > > Stephen > > > No, I didn't resolve this the original paper Andy Wingo refers to

[racket-users] folding xml - reprise

2020-03-24 Thread Catonano
Hi, I'm trying to do something like a fold, but over a tree instead of a list. Is there anything like that? If it's unclear what I mean, there's a mechanism like that in guile: https://www.gnu.org/software/guile/manual/html_node/SXML-Tree-Fold.html They use it e.g. for XML transformations, but i

[racket-users] Andy Wingo's fold

2020-03-21 Thread Catonano
Hi, in Guile there are some modules inspired by Andy Wingos paper: "applications of fold to xml transformation" In Guile these concepts are used not only for xml processing but for tree processing in general I was wondering if anything similar is available for Racket I'm having a hard time in pr

Re: [racket] racket and lisp/scheme

2015-02-04 Thread Catonano
2015-02-03 22:27 GMT+01:00 Benjamin Greenman : > Here's a quick overview of the name change (PLT Scheme -> Racket) from the > Racket website: > http://racket-lang.org/new-name.html > thank you ! Racket Users list: http://lists.racket-lang.org/users

[racket] racket and lisp/scheme

2015-02-01 Thread Catonano
In what is racket different from Scheme ? I read that the racket language is a "descendent" of Lisp and Scheme While I know the differences between Clojure and Scheme (or Lisp) I know nothing about racket. Is there an overview anywhere ? Thanks Racket Users list: http:/

Re: [racket] machine states diagrams

2015-01-25 Thread Catonano
2014-12-02 17:03 GMT+01:00 Jens Axel Søgaard : > Here is an example drawing a simple state machine with MetaPict. > It shows a little state machine that accepts numbers with > an even number of zeros in its binary representation. > > #lang racket > (require metapict metapict/structs) > > ; Two sta

Re: [racket] drawings in SICP

2015-01-25 Thread Catonano
2014-12-02 13:20 GMT+01:00 Jens Axel Søgaard : > Is it box and pointer diagrams? > > If so, install metapict and let me know how this works: > > https://github.com/soegaard/metapict/blob/master/metapict/box-and-pointer-diagram.rkt > > write method in ellipsis-snip%: arity mismatch; the expected n

Re: [racket] machine states diagrams

2015-01-25 Thread Catonano
2015-01-25 23:18 GMT+01:00 Jens Axel Søgaard : > 2015-01-25 23:09 GMT+01:00 Catonano : > > How do I install metapict ? > > > > I tried through the package manager with the github repo url, but it > claims > > that a MANIFEST file is missing. > > In the package

Re: [racket] machine states diagrams

2015-01-25 Thread Catonano
Jens, 2014-12-02 17:03 GMT+01:00 Jens Axel Søgaard : > Here is an example drawing a simple state machine with MetaPict. > It shows a little state machine that accepts numbers with > an even number of zeros in its binary representation. > > #lang racket > (require metapict metapict/structs) > > H

Re: [racket] drawings in SICP

2014-12-05 Thread Catonano
Jens, thanks for your reply and sorry for the delay in mine. 2014-12-02 13:20 GMT+01:00 Jens Axel Søgaard : > Is it box and pointer diagrams? > > If so, install metapict and let me know how this works: > > https://github.com/soegaard/metapict/blob/master/metapict/box-and-pointer-diagram.rkt > W

[racket] drawings in SICP

2014-12-02 Thread Catonano
In SICP lecture 2a they demonstrate some drawings. Are those reproducible with Racket ? Racket Users list: http://lists.racket-lang.org/users

[racket] machine states diagrams

2014-12-02 Thread Catonano
Someone suggested me that a module for Racket exists that can produce some very nice diagrams of scheme machine states. Would anyone point me to that ? I'm in this SICP study group and I'd love to provide some sensory proofs of the internal workings of the machine. Thanks

Re: [racket] SICP (again)

2014-11-26 Thread Catonano
2014-11-26 13:17 GMT+01:00 Alexander McLin : > The square function is also defined in earlier SICP sections so I would > recommend you maintain a running file of all functions SICP defines so you > can refer back to them easily. > Ok, this seems a reasonable approach. Note taken, thanks Are ther

Re: [racket] SICP (again)

2014-11-26 Thread Catonano
2014-11-26 12:56 GMT+01:00 Joshua TAYLOR : > Why not just do: > > (define (square x) > (* x x)) > > ? > > I did, and it works. But my concern is about the incompatibility level between the two platforms. Going forward in the course, it could get worse, we are somewhat all beginners, the concep

[racket] SICP (again)

2014-11-26 Thread Catonano
Hello I understand that this is not the first time someone asks about using Racket for a SICP study group. I used the not so mantained mit-scheme compatibility package and I tried to paste this piece of code (define (average x y) (/ (+ x y) 2)) (define (sqrt x) (define (improve guess)