Re: [racket-users] Datalog questions

2015-09-17 Thread Eduardo Bellani
(majority? PERCENT :- #t) This is throwing this error: _: wildcard not allowed as an expression Any idea of what I'm doing wrong? Thanks again. Jay McCarthy writes: > I would do "raco pkg update --clone datalog" from "$PLTHOME/extra-pkgs" > > Jay > &g

Re: [racket-users] Datalog questions

2015-09-17 Thread Eduardo Bellani
Hello Jay, thanks for your time. I'll try the update asap. One question to anyone, what would the the canonical way of fetching such an update in racket's package system? Jay McCarthy writes: > On Wed, Sep 16, 2015 at 2:50 PM, Eduardo Bellani wrote: >> Hello list >

[racket-users] Datalog questions

2015-09-16 Thread Eduardo Bellani
or/c exact-nonnegative-integer? #f) (or/c exact-positive-integer? #f))) symbol? variable?) contract from: /datalog/ast.rkt Which I interpreted as the LOC being lost in the syntax generator. I haven't being able to resolve that yet. Any light on the subject? Thanks

Re: [racket] tcp-read handlers

2014-01-20 Thread Eduardo Bellani
ed? (http-read-headers > in-port)) (http-pipe-data chunked? in-port out-pipe) > (close-input-port in-port (or exn-raised in-pipe)) > > > > > > On Jan 18, 2014, at 5:08 PM, Eduardo Bellani wrote: > > Btw, forgot to ask, any alternatives that could solve my pro

Re: [racket] tcp-read handlers

2014-01-18 Thread Eduardo Bellani
n of decoding. >> >> [*] To avoid interfering with the `exn:break?` exceptions >> triggered by Ctl-C, you almost always want `exn:fail?` instead of >> just `exn?`. >> >> At Sat, 18 Jan 2014 09:50:15 -0200, Eduardo Bellani wrote: > Is there a way to install a handl

Re: [racket] tcp-read handlers

2014-01-18 Thread Eduardo Bellani
*] To avoid interfering with the `exn:break?` exceptions triggered > by Ctl-C, you almost always want `exn:fail?` instead of just > `exn?`. > > At Sat, 18 Jan 2014 09:50:15 -0200, Eduardo Bellani wrote: Is there > a way to install a handler for the tcp-error exception? I have a > funct

[racket] tcp-read handlers

2014-01-18 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to install a handler for the tcp-error exception? I have a function like this (define (get-page link-url (max-tries 5)) (let loop ([current-try 0]) (with-handlers ([exn? (? (e) (if (> c

Re: [racket] help with syntax-splicing in small macro

2012-09-24 Thread Eduardo Bellani
t;> >> But solving it directly through the template is much better. > > > Hi Eduardo, > > > But do you even need macros for the problem? Could a plain vanilla function > work as well? I just want to make sure I understand why we're in macro-land > in the fir

Re: [racket] help with syntax-splicing in small macro

2012-09-20 Thread Eduardo Bellani
hrough the template is much better. Thanks again. On Wed, Sep 19, 2012 at 6:45 PM, Danny Yoo wrote: > On Wed, Sep 19, 2012 at 3:10 PM, Eduardo Bellani wrote: >> Hello list. >> >> Could anyone give me a hand and explaing why this >> >> #lang racket >> (struct

[racket] help with syntax-splicing in small macro

2012-09-19 Thread Eduardo Bellani
Hello list. Could anyone give me a hand and explaing why this #lang racket (struct tst (attr1 attr2)) (define-syntax (list->struct stx) (syntax-case stx () [(_ attr-list) #`(tst #,@attr-list)])) Fails? -- Eduardo Bellani "Resolve to serve no more, and you are at on

Re: [racket] structural program comparison tool in Racket

2012-09-13 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Truly it would be a great addition to drracket. On 09/13/2012 06:06 PM, Asumu Takikawa wrote: > On 2012-09-14 04:34:21 +0800, Yin Wang wrote: >> I'm developing a tool for "diffing" program by parse trees and >> not text. It is written in Racket and c

Re: [racket] wikipedia on IDE's

2012-08-31 Thread Eduardo Bellani
ut if you got things correct. Its a major plus to program in lisp like languages, because you can leverage the tree structure of the code more easily. That's my view of it. On 08/30/2012 07:19 PM, John Clements wrote: > > On Aug 30, 2012, at 3:04 PM, Neil Van Dyke wrote: > >>

Re: [racket] wikipedia on IDE's

2012-08-30 Thread Eduardo Bellani
*get out of DR On Thu, Aug 30, 2012 at 7:00 PM, Eduardo Bellani wrote: > Paredit is more structured than what I can get out of emacs. It does > not allow me > to get my sexps unbalanced. For instance, to close and align all the > parens I just go on pressing ')' until

Re: [racket] wikipedia on IDE's

2012-08-30 Thread Eduardo Bellani
wrote: > I've enabled auto parens and square with highlight et al in DR and use the > sexp movement key combos and I'm pretty happy with it. I was never a heavy > user of paredit in emacs, though an admirer. > > > On Thu, Aug 30, 2012 at 5:43 PM, Eduardo Bellani wrote:

Re: [racket] wikipedia on IDE's

2012-08-30 Thread Eduardo Bellani
Of course one's IDE selection is very personal and > YMMV. > > > > Racket Users list: > http://lists.racket-lang.org/users > -- Eduardo Bellani "Resolve to serve no more, and you are at once freed." Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Congratulations to Shriram: Milner Young Researcher Award

2012-06-12 Thread Eduardo Bellani
Congratulations guys, keep up the good work. On 06/12/2012 11:52 PM, Matthew Flatt wrote: > Shriram Krishnamurthi has been selected as the 2012 winner of the > SIGPLAN Robin Milner Young Researcher Award! > > The Milner Award is new this year, but with this year's precedent, it > will surely prov

Re: [racket] Question/Suggestion for raco

2012-05-30 Thread Eduardo Bellani
against this. Schlepping eclipse >> projects from machine to machine is a giant pain, and one of the >> things that I love about Racket is the lack of metadata and the >> stripping of programs to their essence. > > Use Maven and you won't have such problems. -- Eduardo Be

[racket] Question/Suggestion for raco

2012-05-29 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there some sort of new project command for raco? Something that would create a new project with a default skeleton structure that is suggested by the racket community? If not, would that be a good idea? There are precedents, with Leiningen for cloj

Re: [racket] RacketCon 2012?

2012-05-21 Thread Eduardo Bellani
__ >  Racket Users list: >  http://lists.racket-lang.org/users -- Eduardo Bellani "Resolve to serve no more, and you are at once freed." Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Opengl racket 5.2.1

2012-05-18 Thread Eduardo Bellani
Thanks Matthew, worked like a charm. On 05/17/2012 12:04 PM, Matthew Flatt wrote: > You may need to install "gdkglext" and "gtkglext". See > > http://docs.racket-lang.org/gui/libs.html > > for more information. > > At Thu, 17 May 2012 11:56:39 -030

[racket] Opengl racket 5.2.1

2012-05-17 Thread Eduardo Bellani
Hello racket team. For some fun, I have tried to play around with the opengl library again. For starters I've tried to run the gears.rkt example. This message popped up: "There was an error initializing OpenGL. Maybe OpenGL is not supported on the current platform." >From looking at the source

Re: [racket] structures question

2012-03-29 Thread Eduardo Bellani
; > check-expect: expects 2 arguments, but found only 1 > > But there is only 1 argument the structure pos-manhatten. > > Roelof ____ Racket Users list: > http://lists.racket-lang.org/users - -- Eduardo Bellani fear is an alarm, not a

Re: [racket] Google Summer of Code 2012 Ideas

2012-03-05 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 +1 on this. On 03/02/2012 12:34 PM, Ray Racine wrote: > I'd like to see more foundational libraries along the lines of > say. > > - An Actor/Isolate high level message passing library over Places > And Threads. All the necessary low-level primitives

Re: [racket] Challenge: in 140 chars or less

2012-02-24 Thread Eduardo Bellani
n this view: > [...] > http://en.wikipedia.org/wiki/Thomae%27s_function > > Racket Users list: > http://lists.racket-lang.org/users -- Eduardo Bellani fear is an alarm, not a compass. Racket Users list: http://lists.racket-lang.org/users

[racket] About DB and events

2012-02-24 Thread Eduardo Bellani
g does not sound like a nice way to code this. Thanks. - -- Eduardo Bellani fear is an alarm, not a compass. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk9Hk/cACgkQSbLl0kCTjGn4HwCfTfYx7O2Svgs1fU/iozNaH1If tp8An2BcNHjnkvXP5FlC5N/4MTzp1Jdr =LY9m -END PGP

Re: [racket] Racket Google Hits

2012-01-09 Thread Eduardo Bellani
>> >> >> >> >> I suppose responding to this thread about Racket programming >> isn't a bad idea, either > > Hahaha here is my little contribution then. I also have the Racket > website linked on the word "programming languages" on my home &

[racket] Doubt about ryanc/db unreadable values

2011-11-10 Thread Eduardo Bellani
")]) (displayln x)) => #(1 1 16642 3 unreadable) #(4 1 16642 3 unreadable) Did anyone stumbled on this behavior before? Any hints? Thanks all. - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE-

Re: [racket] Copying objects

2011-10-21 Thread Eduardo Bellani
Ah, ok. Thanks Ryan. On 10/20/2011 02:56 AM, Ryan Culpepper wrote: > On 10/19/2011 08:39 PM, Eduardo Bellani wrote: >> Hello list. >> >> This should be obvious, but due probably to my ignorance I am finding >> more difficult than expected to find a function that co

[racket] Copying objects

2011-10-19 Thread Eduardo Bellani
hanks guys. - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk6fidoACgkQSbLl0kCTjGn0NQCeM3pbwAQioaH+YP8BMe28U0C0 JxIAn3yPIzLxia5rfEPgm12PlBV4mOat =7PEI -END PGP SIGN

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Same here. > I've used it. Nothing I can't live without. I'm happy for it to > break in the name of progress. > - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version:

Re: [racket] are people using untyped/snooze?

2011-09-24 Thread Eduardo Bellani
__ For >> list-related administrative tasks: >> http://lists.racket-lang.org/listinfo/users >> > > _____________ For list-related > administrative tasks: http://lists.racket-lang.org/listinfo/users - -- Eduar

[racket] provide/doc for classes and methods?

2011-09-14 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello there folks. I am trying to build in-source scribble documentation for classes and methods and I am a bit confused as to how to proceed. Usually to provide the contract and documentation for a procedure I code the following: (provide/doc (pro

Re: [racket] Ohloh now sees racket

2011-08-26 Thread Eduardo Bellani
ompany we might look like we contributed a > lot of money. But you're correct nevertheless -- Matthias > > > - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk5XrJYACgkQSbLl0kCTjGkHGA

Re: [racket] Racket embedding / FFI "guide" docs?

2011-08-08 Thread Eduardo Bellani
s problem on the radar? > > > > > _ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version

Re: [racket] Doubt about the 'More: Systems Programming with Racket'

2011-07-06 Thread Eduardo Bellani
em. > Also, in your "handle" procedure, do you want to "display" to "out"? > Not really, that was just for initial testing purposes. - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECA

[racket] Doubt about the 'More: Systems Programming with Racket'

2011-06-30 Thread Eduardo Bellani
works very well if I read the input port with read-line, but won't budge if I use something like port->string. Can somebody shed a light on this? Thanks for the time. - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYE

Re: [racket] RacketCon: Web app tutorial

2011-06-27 Thread Eduardo Bellani
ed in the security aspects, access control, etc. Would it be saved to video so the online community can check it out? Thanks. - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk4JAbgACgkQSbLl0kCTjGk7XgCfaI03CHQgS8UFj2B

Re: [racket] Unit testing of contracts

2011-06-21 Thread Eduardo Bellani
tions when they fail, so check that the raise an > exn (use check-exn) when you expect them to raise an exception, and > that they don't raise an exn (check-not-exn) when you don't expect > them to. > > HTH, > N. > > On Tue, Jun 21, 2011 at 12:19 AM, Eduardo

[racket] Unit testing of contracts

2011-06-20 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list. I have a small set of contracts that I am thinking of turning into a planet package so I can use them across projects. My problem is, how do I use the rackunit framework to test them? Here is the first few contracts that I want to test: #

Re: [racket] sexp highlighting

2011-06-19 Thread Eduardo Bellani
sis, only on input and only for a short period of time. Is there > a way to get old behavior back, it was very helpful? > I think I have seen this behavior on my friend's machine. It was an ubuntu 10.10 64 bit if I am not mistaken. -- Eduardo Bellani omnia

Re: [racket] disable garbage collection

2011-06-02 Thread Eduardo Bellani
ce for having all the GC code in place as normal, so that the > usual code paths are used, and simply having the (conceptual) > do-we-want-to-do-a-gc-cycle-now function always return false. I'd try > to avoid running any blocks of code not already covered by users who are > running

Re: [racket] disable garbage collection

2011-06-02 Thread Eduardo Bellani
urrently no way to disable GC. I'll look into adding one. > > > > _ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users -- Eduardo Bellani omnia mutantur, nihil interit. ___

Re: [racket] [racket-dev] racket vs. scheme vs. clojure (as it appears to others)

2011-05-09 Thread Eduardo Bellani
That's one thing I love in this list, I'm always learning something new :) On 05/06/2011 11:26 AM, Jos Koot wrote: > > >> -Original Message- >> From: dev-boun...@racket-lang.org >> [mailto:dev-boun...@racket-lang.org] On Behalf Of Eduardo Bellan

Re: [racket] in-line documentation program? Like Javadoc or Doxygen

2011-04-05 Thread Eduardo Bellani
ble items. My ideal output forms are HTML and >> > odt (OpenOffice) files. >> > >> > _ >> > For list-related administrative tasks: >> > http://lists.racket-lang.org/listinfo/users > > > > > _ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Suggestion for saving preferences

2011-04-04 Thread Eduardo Bellani
the time. [1] http://groups.google.com/group/racket-users/browse_thread/thread/e148c25ea668a719 -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Invisible Canvas question

2011-03-31 Thread Eduardo Bellani
of > geometry management. > > > At Thu, 31 Mar 2011 17:29:14 -0300, Eduardo Bellani wrote: >> Could someone please explain why there is an invisible canvas in this >> example? >> >> Env: >> Linux 2.6.31-23-generic Ubuntu i686 GNU/Linux >> rack

[racket] Invisible Canvas question

2011-03-31 Thread Eduardo Bellani
s invisible? (define invisible-canvas (new bitmap-canvas% [parent p] [bitmap bitmap])) (define visible-canvas (new bitmap-canvas% [parent p2] [bitmap bitmap])) (send f show #t)

[racket] Strange error 5.1.0.2 define-runtime-path

2011-02-23 Thread Eduardo Bellani
have compiled the latest git version like this mkdir racket-places cd racket-places ../src/configure --enable-places --prefix=/usr/racket-5.1.0.2-with-places make sudo make install I end up with version 5.1.0.2--2011-02-05(-/f) [3m]. Any ideas? -- Eduardo Bellani omni

Re: [racket] FTP strange behavior

2011-02-16 Thread Eduardo Bellani
On 02/16/2011 05:32 PM, Eduardo Bellani wrote: > ;; wget ftp://download.intel.com/research/silicon/moorespaper.pdf #works > > (require net/ftp) > > (define conn (ftp-establish-connection "download.intel.com" 21 > "anonymous" "")) > > (ft

Re: [racket] FTP strange behavior

2011-02-16 Thread Eduardo Bellani
quot;) (ftp-download-file conn "/home/X" "moorespaper.pdf") Thanks On 02/16/2011 01:36 PM, Jay McCarthy wrote: > I'm pretty sure it was committed in time. > > Jay > > 2011/2/16 Eduardo Bellani : >> Is that fix available in the new 5.1 distribution? Or should I co

Re: [racket] FTP strange behavior

2011-02-16 Thread Eduardo Bellani
ls") >> >> This establishes a connection on the side to receive the data. There >> is normally just one per transfer. Maybe the server is sending the >> message multiple times? And so it is trying to open two? Can you use >> WireShark to get a transcript of the session? &g

[racket] FTP strange behavior

2011-02-07 Thread Eduardo Bellani
t;./" "APAC.xls") (ftp-close-connection conn) the error is ftp: exected result code 150, got 125 Data connection already open; Transfer starting. My version is 5.0.2/linux Could anyone tell me what could be wrong? -- Eduardo Bellani omnia mutantur, nihil interit.

Re: [racket] Autotest like tool help

2011-01-24 Thread Eduardo Bellani
module-white-list (path->string module-path)) > (eval `(enter! ,(path->string module-path))) > > > > ;; start : -> > (define (start (nap-interval 10)) > (enter-all-from-root) > (sleep nap-interval) > (start)) > > On a direct note on your code:

[racket] Autotest like tool help

2011-01-21 Thread Eduardo Bellani
modules) (current-directory old-current-dir ;; start : -> (define (start (nap-interval 10)) (enter-all-from-root) (sleep nap-interval) (start)) (start) Thanks for the attention. [1] http://zentest.rubyforge.org/ZenTest/ - -- Eduardo Bellani omnia mutantur, nihil interit.

Re: [racket] Efficiency of tight loops in Racket

2011-01-17 Thread Eduardo Bellani
t when I tried to find it >>>>>> yesterday >>>>>> I couldn't (I don't remember the name or where in the documentation I >>>>>> saw >>>>>> it). >>>>>> >>>>>> Does anyone know what package

[racket] Snooze and set operations.

2011-01-13 Thread Eduardo Bellani
he menu or from any other page I saw. Thanks for the attention. -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Require macros

2011-01-12 Thread Eduardo Bellani
(test "another-file") (test me)) On 01/11/2011 08:38 PM, Ryan Culpepper wrote: > On 01/11/2011 09:08 AM, Eduardo Bellani wrote: >> Hello list. >> >> I am having a bit of a pain with trying to create a custom require >> syntax. I am trying to sa

[racket] Require macros

2011-01-11 Thread Eduardo Bellani
model/" *MODULE-NAME*)])) (define-syntax models-test (syntax-rules () [(_ model-name ...) (values (string-append "../app/model/" model-name) ...)])) ;;target-test.rkt (require "../auxiliary.rkt" (model-test "a-model") (my-model-test))

[racket] equal? and objects

2010-12-21 Thread Eduardo Bellani
mes this))) Could anyone help me as to why this does not work, or an alternative approach? Thanks in advance. -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Futures and shared data structure

2010-12-20 Thread Eduardo Bellani
. On 12/20/2010 07:48 PM, Robby Findler wrote: > On Mon, Dec 20, 2010 at 1:02 PM, Eduardo Bellani wrote: >> My output to your suggested approach is >> >> GC [minor] at 1514740 bytes; 818464 collected in 4 msec >> GC [minor] at 2142928 bytes; 678980 collected in 4 msec >

Re: [racket] Futures and shared data structure

2010-12-20 Thread Eduardo Bellani
anything you wish to time in > order to be sure that the gc time is being correctly attributed. > > Robby > > On Mon, Dec 20, 2010 at 1:12 PM, Robby Findler > wrote: >> Oh. You have the touch first. Try putting it second. >> >> Robby >> >> On Mon

Re: [racket] Futures and shared data structure

2010-12-20 Thread Eduardo Bellani
this if you haven't yet: > > > http://docs.racket-lang.org/guide/performance.html#%28part._effective-futures%29 > > Robby > > On Mon, Dec 20, 2010 at 12:47 PM, Eduardo Bellani wrote: >> Hello all >> >> I am trying to understand futures

[racket] Futures and shared data structure

2010-12-20 Thread Eduardo Bellani
(read-data DATA)) (void (define (read-data some-data) (for ([i (in-vector some-data)]) i)) (run-tests read-from-shared) Thanks -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administ

Re: [racket] Command line Racket equivalent of DrRacket's Racket | Run (CTRL+T or F5)?

2010-12-13 Thread Eduardo Bellani
obvious, or botched > the config) neither Racket nor Geiser seem to provide just quite that. > So I was looking at binding F5 to mode-compile and setting the correct > Racket flags ... that I haven't figured out yet, because apparently > I'm a numskull. > > Thank you.

Re: [racket] eval, namespaces, and the REPL

2010-12-04 Thread Eduardo Bellani
t; Have you seen this already?: > > http://docs.racket-lang.org/guide/reflection.html > > > > > _________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users -- Eduardo Bellani omnia mutantur

Re: [racket] Plea for neologism

2010-11-23 Thread Eduardo Bellani
gt; transparency? "non-transparent"? > How about opaque? - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzsOGUACgkQSbLl0

[racket] Conflict between framework/keybinding-lang and existing keybindings

2010-11-17 Thread Eduardo Bellani
;hello"))) Then try anything with a c:x as a prefix. I'm using version 5.0.1 in ubuntu 9.10 Any suggestions? -- Eduardo Bellani omnia mutantur, nihil interit. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Difficult key-binding

2010-11-16 Thread Eduardo Bellani
hat is going on? Thanks. On 11/09/2010 05:45 PM, Eduardo Bellani wrote: > Thanks, worked like a charm! > > On 11/09/2010 03:38 PM, Ryan Culpepper wrote: >> Eduardo Bellani wrote: >>> But as you can see here: >>> >>> (define (diva-link:frame-mixin super%) .

Re: [racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
Thanks, worked like a charm! On 11/09/2010 03:38 PM, Ryan Culpepper wrote: > Eduardo Bellani wrote: >> But as you can see here: >> >> (define (diva-link:frame-mixin super%) ... ) >> >> diva-link is a frame-mixin. So my problem is probably my lack of >> under

Re: [racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
ose-current-tab is a method on the frame, I believe. > > Robby > > On Tue, Nov 9, 2010 at 11:12 AM, Eduardo Bellani wrote: >> Hello there. >> >> I am trying to add this keybinding, but without success: >> >> (keybinding "c:x;c:k" (λ (editor

[racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
nt-tab for class: ...plt/1/6/diva-link.ss:572:4 I am, as you can see, using divascheme. But from what I can see, this diva-link should accept the close-current-tab method. Any pointers? -- Eduardo Bellani omnia mutantur, nihil interit. _ For li

[racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
nt-tab for class: ...plt/1/6/diva-link.ss:572:4 I am, as you can see, using divascheme. But from what I can see, this diva-link should accept the close-current-tab method. Any pointers? -- Eduardo Bellani omnia mutantur, nihil interit. _ For li

Re: [racket] Using lex and yacc

2010-10-15 Thread Eduardo Bellani
;mult 0)) > ((:: "/") (values 'div 0 > > When I try to compile it, I get >regular-expression: undefined operator in: (:+ "[0-9]") > How do I correct this? > > > > > _ >

[racket] Upload progress bar project

2010-09-22 Thread Eduardo Bellani
request -> html-response ; Consumes a request, and produces a page that displays ; all of the web content. (define (start request) (render-upload-page request)) (static-files-path "./") (no-web-browser) - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE---

[racket] Interesting article

2010-08-11 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://programming-puzzler.blogspot.com/2010/08/racket-vs-clojure.html Any opinions on the subject? - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with

[racket] Problem with packages in Racket 5.0

2010-07-06 Thread Eduardo Bellani
restoring by hand after I install a package, but I guess it is not the most friendly way to install a package :) Any suggestions? - -- Eduardo Bellani www.cnxs.com.br omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozi