Re: [racket-users] Puzzle

2015-10-13 Thread Jens Axel Søgaard
2015-10-13 19:16 GMT+02:00 Matthew Flatt : > At Tue, 13 Oct 2015 19:10:54 +0200, Jens Axel Søgaard wrote: > > I think I get it - if sort is a macro. > > The `define` form that supports keyword arguments can expand to a macro > definition. As an example, try the macro ste

Re: Fortran (Was: [racket-users] racket users fight for their right to colon keywords)

2015-10-16 Thread Jens Axel Søgaard
2015-10-16 3:11 GMT+02:00 Neil Van Dyke : > Regarding Fortran, about 3 weeks ago, I looked into implementing a `#lang > fortran77` or `#lang fortran90`. > ... > It would be a substantial project, for either a good practical reason or > a hobby.) > If you need a practical reason: Having a #lang

Re: [racket-users] Interpolating Polynomial in Newton Form

2015-11-10 Thread Jens Axel Søgaard
oglegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- 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

Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-10 Thread Jens Axel Søgaard
bed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard

Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-12 Thread Jens Axel Søgaard
; other stuff, if only to check my own computations (in economics) as I have > perform a sign-error in 25% of the cases... > > On Tuesday, November 10, 2015 at 10:34:50 PM UTC-5, John Kitchin wrote: > > Those are great resources! Thanks! > > > > Jens Axel Søga

Re: [racket-users] Racket v6.3

2015-11-27 Thread Jens Axel Søgaard
ck welcome >>> >>> -- >>> 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 racket-users+unsubs

Re: [racket-users] Racket in a web page (via Whalesong)

2015-12-30 Thread Jens Axel Søgaard
- figure out how to adapt Whalesong to the new macro expander -- Jens Axel Søgaard 2015-12-30 18:32 GMT+01:00 Greg Trzeciak : > Is there any update on > > > The problem is that the functions expand and compile are implemented > in C. > > This means that it is not possibl

Re: [racket-users] R6RS+horizontal panel

2016-01-28 Thread Jens Axel Søgaard
#x27;(left top) will allocate a list of immutable cons cells. Since the GUI is implemented in Racket it expects immutable cons cells. The easiest solution is to switch from R6RS to Racket. However if you want to stick with R6RS, import list from racket/list and use that to create an immutable list.

Re: [racket-users] R6RS+horizontal panel

2016-01-29 Thread Jens Axel Søgaard
2016-01-29 23:12 GMT+01:00 Jean-Michel HUFFLEN : > Jens Axel Søgaard wrote: > > 2016-01-28 21:48 GMT+01:00 jmhuffle : >> >>Dear Racket friends, >>> >>>I am surprised because the following code works in "lang racket", but >>> not

Re: [racket-users] Making a text editor

2016-01-31 Thread Jens Axel Søgaard
se 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 racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens A

Re: [racket-users] DrRacket Coverage

2016-02-15 Thread Jens Axel Søgaard
2016-02-14 19:09 GMT+01:00 Eli Barzilay : > Every semester there are always students that think that DrRacket is > broken when they add tests and the coverage colors go away. I now tell > them about it in advance (in class and in text), but it's still > confusing people. > > So in the spirit of p

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails f

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
.@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > 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 a

Re: [racket-users] Help writing a simple lexer/tokenizer

2016-02-22 Thread Jens Axel Søgaard
he form [expression1 => expression2] will calls the result of expression2 with the result of expression1 as input. That is: when (match-identifier input) returns a token the function (lambda (token) ... consume the identifier token...) will be called with the token. Given the token you can find it'

[racket-users] Detect version of OS X

2016-02-23 Thread Jens Axel Søgaard
Hi All, The function system-type can be used to detect the system type. Is there a function that returns the version of the operating system? Use case: The paths to LaTeX has changed on El Capitan, which makes it difficult to choose a default path, that works for all. /Jens Axel -- You receive

Re: [racket-users] Detect version of OS X

2016-02-23 Thread Jens Axel Søgaard
t; (define (version-10.11-or-later?) > (NSAppKitVersionNumber . >= . 1389)) > > > At Tue, 23 Feb 2016 21:46:55 +0100, Jens Axel Søgaard wrote: > > Hi All, > > > > The function system-type can be used to detect the system type. > > Is there a function that re

Re: [racket-users] Detect version of OS X

2016-02-24 Thread Jens Axel Søgaard
t;> Greetings >> >> On 23 Feb 2016, at 20:46, Jens Axel Søgaard wrote: >> >> > Use case: The paths to LaTeX has changed on El Capitan, >> > which makes it difficult to choose a default path, that works >> > for all. >> >> Addressing that

Re: [racket-users] Re: ispell

2016-02-29 Thread Jens Axel Søgaard
t;>> -- >>>> 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] function minimization

2016-03-02 Thread Jens Axel Søgaard
:x-min 1 > #:x-max 120 > #:y-min 0) > > -- > 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 racket-users+unsubscr

Re: [racket-users] Re: Racket 6.4 very slow

2016-03-02 Thread Jens Axel Søgaard
2016-03-02 19:26 GMT+01:00 vkelmenson via Racket Users < racket-users@googlegroups.com>: > Also: When I am typing in the interactions pane of 6.4 there is often a > 1-2 second delay before my > keystrokes show up. > > It sounds as if something went wrong during the installation on Racket. How did

Re: [racket-users] Re: Racket 6.4 very slow

2016-03-02 Thread Jens Axel Søgaard
subscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- 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

Re: [racket-users] DrR: meta-q just worked!

2016-03-05 Thread Jens Axel Søgaard
s.google.com/d/optout. > > -- > 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 racket-users+unsubscr...@googlegroups.com. > For more options, vis

Re: [racket-users] Unicode subscripts in code and scribble

2016-03-10 Thread Jens Axel Søgaard
op receiving emails from it, send > an email to racket-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To u

Re: [racket-users] Pattern Matching in Macros | Meaning of dot

2016-03-13 Thread Jens Axel Søgaard
t;bar") but why do we use the '. body' in the lambda expression > at the end? > > Thank you for your attention. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this

Re: [racket-users] Re: Pattern Matching in Macros | Meaning of dot

2016-03-13 Thread Jens Axel Søgaard
hat I wrote > above (I was replying while you answered) > > Again, thank you all for your time! > > -- > 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: Re: [racket-users] Pattern Matching in Macros | Meaning of dot

2016-03-14 Thread Jens Axel Søgaard
it now. > > On 13 Mar 2016, at 19:48, Jens Axel Søgaard wrote: > > If we use > > (define-syntax define/memoized > (syntax-rules () > ((_ (name . args) . body) > (define name (memoize (lambda args body)) > > and body is bound to((displayln x) (displ

Re: [racket-users] Re: Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-19 Thread Jens Axel Søgaard
2016-03-16 22:18 GMT+01:00 Greg Trzeciak : > > Thanks Dan, seems to be exactly what I need (especially the combination > with ractive.js! BTW you couldn't find js framework with name more fitting > to work with racket ;) > I am only curious what racket subset does urlang include or rather what > w

Re: [racket-users] Re: Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-19 Thread Jens Axel Søgaard
2016-03-16 22:50 GMT+01:00 Greg Trzeciak : > "Urlang is a Racket flavoured S-expression syntax for Javascript" > Can I steal that for a tag-line? > Thank you for your explanation - still seems like a good fit for one of my > projects (as I needed something more lightweight than Whalesong) so I

Re: [racket-users] Trouble with displaying value-turtles

2016-03-19 Thread Jens Axel Søgaard
ed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard --

Re: [racket-users] Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-23 Thread Jens Axel Søgaard
ng/space-invaders.html > > Dan > > -- > 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 racket-users+unsubscr...@googlegroups.com. >

Re: [racket] SMathML Support in Racket

2010-08-15 Thread Jens Axel Søgaard
input. If not, it would be much, much simpler to implement S-expression for Maxima, than reimplementing an entire symbolic algebra system in Racket. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Question about the double submit bug 'in the wild'

2010-08-23 Thread Jens Axel Søgaard
7;s back button at all during this application process. Whenever you miss a required field, the web application will inform you of your omission and it will reshow your partially completed form so that the change can be made without cl

Re: [racket] racket's syntax-case and read-syntax usage

2010-08-26 Thread Jens Axel Søgaard
27;expr))] [(lambda () expr) #`(fun () -> #,(transform #'expr))] [_ (raise-syntax-error 'transform "unknown syntax" stx)])) (define (read-syntax-from-string str) (with-input-from-string str (λ () (let ([stx (read-syntax 'read-from-a-string)])

Re: [racket] What is inexactness about?

2010-09-01 Thread Jens Axel Søgaard
ever released a Scheme with, say, interval representation? -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] What is inexactness about?

2010-09-01 Thread Jens Axel Søgaard
2010/9/1 Carl Eastlund : > If I have read the message correctly, Guy was quoting those three > lines as well; they were written by Alan Bawden. Oops. You are right. Guy used spaces to quote Alan, so I misread what was quoted. -- Jens Axel S

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread Jens Axel Søgaard
out going through planet The PLaneT dance might be impractical, but hardly a show stopper? However there is something to think about regarding shared and static C libraries. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread Jens Axel Søgaard
2010/9/15 YC : > On Wed, Sep 15, 2010 at 2:14 PM, Jens Axel Søgaard > wrote: >> > limited memory usage >> >> This is a biggie, but memory size will grow fast enough >> that if it is a problem, it will disappear with time. > > This is true in the grand sch

Re: [racket] Checking infinite loops

2010-10-04 Thread Jens Axel Søgaard
y companies like B&O (Bang and Olufsen) use non-Turing Complete languages in their remote controls. This allows them to run automated checkers to prove their remotes never lock up. -- Jens Axel Søgaard _ For list-related administrative task

Re: [racket] a little macro exercise

2010-10-09 Thread Jens Axel Søgaard
The semantics is defined as: > Spec: define a case construct syntactically just like that of Racket. > In terms of semantics: > - the last one returns its answer since it has no next clause, and Does this imply that a cas-cad-e expression must contain at least one clause? -- Jens Axe

Re: [racket] a little macro exercise

2010-10-09 Thread Jens Axel Søgaard
((1) (display "1") ) ((5) (display "5") (break 5)) ((3) (display "3") 3))) should the break in (break 5) be bound to the let-bound identifier or be bound by the break introduced by cas-cad-e ? -- Jens Axel Søgaard __

Re: [racket] a little macro exercise

2010-10-09 Thread Jens Axel Søgaard
Here is yet another solution. The focus of this one is not to be short, but rather to provide error messages that refer to cas-cad-e and not to constructs that cas-cad-e expands to. Extra tests are provided. -- Jens Axel Søgaard cas-cad-e-test.rkt Description: Binary data cas-cad-e.rkt

[racket] Lesson from the macro exercise

2010-10-12 Thread Jens Axel Søgaard
informative error messages. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Lesson from the macro exercise

2010-10-12 Thread Jens Axel Søgaard
st-label)] [else (void)])])) 2010/10/12 Robby Findler : > syntax/parse!  :) > > Robby > > On Tue, Oct 12, 2010 at 3:46 AM, Jens Axel Søgaard > wrote: >> There have now been several solutions to the macro exercise. >> Is there a systematic ap

Re: [racket] Lesson from the macro exercise

2010-10-12 Thread Jens Axel Søgaard
2010/10/12 Jens Axel Søgaard : > Syntax/parse looks great! > > I haven't played with it before, but it I like the approach. > Two questions: > >   1. What does the error >          pattern: attribute has wrong depth (expected 0, found 1) in: d >      mean?  The progra

[racket] Syntax-parse and error messages

2010-10-13 Thread Jens Axel Søgaard
xpected expr ..." ;(casc 3 [(4) ]) ; casc: repetition constraint violated in: (casc 3 ((4))) ;(casc 3 [(4) 2 3] [3]) ; only 3 is red shouldn't that be [3] ? ;; And a legal expression (casc 3 [(1) 'one] [(3) 'three]) -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] [BULK] Fundamentals

2010-10-14 Thread Jens Axel Søgaard
2010/10/14 Hendrik Boom : > There was actually a book published in the 50's or 60's with a million > random digits that were generated in this fashion. Here it is: http://books.google.com/books?id=XvwX1fxryIgC&printsec=frontcover&dq=random+numbers+million&hl=en&ei=pAu3TIqkL8mZOoOUuaIJ&sa=X&oi=bo

Re: [racket] how does call/cc and let/ec exactly works?

2010-10-18 Thread Jens Axel Søgaard
2010/10/18 김태윤 : > how does call/cc and let/ec exactly works? Read http://www.cs.indiana.edu/hyplan/dfried/appcont.pdf -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Stuck on HtDP 25.2.6

2010-10-25 Thread Jens Axel Søgaard
o (< threshold (first alon)) now both larger-items and smaller-items use the same comparison function. Step 3 -- > Then abstract the > new version to consume a list and a comparison function: -- Jens Axel Søgaard _

[racket] Scribble: Page break in LaTeX output

2010-10-31 Thread Jens Axel Søgaard
Hi all, What is the simplest way to generate a page break in the LaTeX output? -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Scribble: Page break in LaTeX output

2010-10-31 Thread Jens Axel Søgaard
2010/10/31 Matthew Flatt : > At Sun, 31 Oct 2010 11:05:14 +0100, Jens Axel Søgaard wrote: >> What is the simplest way to generate a page break in the LaTeX output? > > I don't think we have anything built in, but you can use `element' to > construct an element using &

Re: [racket] Newbie question

2010-11-10 Thread Jens Axel Søgaard
-digits->number a b c) gives the number, that has a as first digit, b as second digit and c the last (and thus least signigicant) digit. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Indentation in DrRacket

2010-11-14 Thread Jens Axel Søgaard
own, In preferences look for the Editing planel. Then choose the subpanel Indentation. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] etags support for DrRacket

2010-11-19 Thread Jens Axel Søgaard
rScheme one would achieve thusly: - click the button "Check Syntax" - right click on the name, and choose "Jump to definition" -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] make only selected color to transparent

2010-11-21 Thread Jens Axel Søgaard
> and I realize that the png files what I used is does not have any > transparency > could you let me know how to set a color as transparent as well? Here is how to do it in GIMP: http://fabiovisentin.com/tutorial/GIMP_transparent_image/gimp_how_to_make_transparent_image.asp --

[racket] Formatting Racket souce for web pages

2010-11-30 Thread Jens Axel Søgaard
Someone (I can't find it now) recently asked for a way to format Racket source for use in web pages. Try: http://www.scheme.dk/paste/ -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Scribble: Different output for LaTeX and HTML backends

2010-12-07 Thread Jens Axel Søgaard
uot;]{Proof for the cosine relation in an acute trinagle} How can I detect whether pdf or html is being generated? Is there a parameter I can use? -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Scribble: Different output for LaTeX and HTML backends

2010-12-07 Thread Jens Axel Søgaard
tputs. /Jens Axel 2010/12/7 Robby Findler : > You can just set up a new command and give it different > implementations in a style.tex and for the HTML output. There is a > section on this in the docs I believe. > > Robby > > On Tuesday, December 7, 2010, Jens Axel Søgaard wrot

Re: [racket] Scribble: Different output for LaTeX and HTML backends

2010-12-08 Thread Jens Axel Søgaard
@no...@exact{\raggedright Schelog (1993) > \url{http://docs.racket-lang.org/racklog}}} > > -- Matthias > > On Dec 7, 2010, at 11:04 AM, Jens Axel Søgaard wrote: > >> In the HTML output, can I do more than just choose a new CSS style? >> (If yes, can you point to the proper

Re: [racket] Scribble: Different output for LaTeX and HTML backends

2010-12-08 Thread Jens Axel Søgaard
2010/12/7 Matthias Felleisen : > Define a Scribble function like this: > > (define (exact . items) >  (make-element (make-style "identity" '(exact-chars)) >                items)) > (provide exact) It (finally) dawned on me that I have two problems. I thougt this would display a YouTube player on

[racket] Blog: Rebuilding Racket’s Graphics L ayer

2010-12-08 Thread Jens Axel Søgaard
In case anyone missed it: Mattew has written a blog post on the graphics layer. http://blog.racket-lang.org/2010/12/racket-version-5.html There is a lengthy discussion at Hacker News. http://news.ycombinator.com/item?id=1983881 -- Jens Axel Søgaard

Re: [racket] Symbol Syntax

2011-01-05 Thread Jens Axel Søgaard
ou'll never the fanfare when you correctly guess the number. -- Jens Axel Søgaard > > (define (reply s) > (cond > [(symbol=? s 'GoodMorning) 'Hi] > > [(symbol=? s 'HowAreYou?) 'Fine] > > [(symbol=? s 'GoodAfternoon) 'INeed

[racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
- I discovered that modern browers can display pdfs inline - which means that the user can zoom in on the geometric figures with no problems. (But still it requires a modern browser) -- Jens Axel Søgaard _ For list-related administrative tasks:

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
2011/1/10 Jens Axel Søgaard : > I am in the process of writing a small geometry book using Scribble. > So far I am pleased with the results. > > The html version is available here: > >    http://jensaxel.dk/1x/geometribogen/ > >    Username: racket >    Password: rac

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
2011/1/10 Matthew Flatt : > At Mon, 10 Jan 2011 10:38:55 +0100, Jens Axel Søgaard wrote: >> Another small issue (for me): Since Asymptote is used to produce the >> geometric figures, I can produce both a pdf and a png version of each image. >> I was expecting/hoping that th

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
nder if I could use it >> to learn reading Danish :-) > > Ditto -- doesn't look too hard to reverse-engineer. (-: ;-) -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Scribble experience

2011-01-16 Thread Jens Axel Søgaard
2011/1/10 Matthew Flatt : > At Mon, 10 Jan 2011 10:38:55 +0100, Jens Axel Søgaard wrote: >> Another small issue (for me): Since Asymptote is used to produce the >> geometric figures, I can produce both a pdf and a png version of each image. >> I was expecting/hoping that th

Re: [racket] Handling bits

2011-01-24 Thread Jens Axel Søgaard
need to read and write bits to a file, then the PLaneT library bit-io is a possibility. Documentation: http://planet.racket-lang.org/package-source/soegaard/bit-io.plt/2/0/doc.txt Usage example: http://blog.scheme.dk/2006/04/reading-and-writing-bits-bit-ioplt.html -- Jens Axel Søgaard Right no

[racket] Examples of tables in Scribble

2011-02-01 Thread Jens Axel Søgaard
Hi All, Are there any examples of how to use tables in Scribble? -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Examples of tables in Scribble

2011-02-02 Thread Jens Axel Søgaard
> On Tue, Feb 1, 2011 at 8:33 AM, Jens Axel Søgaard >> Are there any examples of how to use tables in Scribble? 2011/2/2 Doug Williams : > I use them is some of my scribble documentation. For example, the Packed > Binary package > (http://planet.racket-lang.org/display

Re: [racket] Embedding multiline shell scipts

2011-02-06 Thread Jens Axel Søgaard
2011/2/6 Jukka Tuominen : > I'm trying to embed multiline shell scripts within a scheme function, but > I'm not quite sure how to do it. Just a quick, ransom tip: Multi line strings can be written conveniently with "here strings", #<

Re: [racket] code to HTML

2011-03-18 Thread Jens Axel Søgaard
number-theory.ss So somewhere (?) there must be an already written module that does exactly, what you need. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] code to HTML

2011-03-19 Thread Jens Axel Søgaard
code directly, if I were able to find it in the Racket GIT. -- Jens Axel Søgaard 2011/3/18 Jens Axel : > Well, I modified some code Anton wrote. And I think he in turn used code from > Sitaram. But that aside, I am not sure where in SVN the code lives now. > > -- > Jens Axel Sø

Re: [racket] code to HTML

2011-03-19 Thread Jens Axel Søgaard
2011/3/18 Todd O'Bryan : > Anybody have any idea where I should look for that? In hindsight it might be better to use Scribble, since it will produce links to the Racket documentation. -- Jens Axel Søgaard _ For list-related admini

Re: [racket] I've implemented a Scheme Interpreter. But it's too slow. Next step?

2011-03-21 Thread Jens Axel Søgaard
e representation used in the 1996 Scheme Workshop pointers to cons cells contains 010 in their lower 3 bits. A type check is thus compiled to a very fast and instruction. http://www.cs.indiana.edu/eip/compile/back.html -- Jens Axel Søgaard >   -Patrick > > On Mon, Mar 21, 2011

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Jens Axel Søgaard
To make a long story short: Skip the macro section in TYSIFD (it is simply too old) and read the racket guide on macros. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Racket in a browser?

2011-04-10 Thread Jens Axel Søgaard
some obvious obstacles? If not the idea is would make a nice Racket project for someone. Say, Project Bracket (=BrowserRacket). It goes without saying, that the solution won't be fast, but it might be fast enough. At least the demo (a pdf-renderer in JavaScript works reasonable fast). -- Jens

Re: [racket] Racket in a browser?

2011-04-10 Thread Jens Axel Søgaard
nsity.com/static/lua.html -- Jens Axel Søgaard 2011/4/10 Shriram Krishnamurthi : > Why would it be better to first retarget Racket to the LLVM than to > just use the current Racket bytecode->JavaScript compiler? > > On Sun, Apr 10, 2011 at 12:18 PM, Jens Axel Søgaard > wrote: >

Re: [racket] Racket in a browser?

2011-04-10 Thread Jens Axel Søgaard
depends on how well the LLVM is translated to JavaScript. > Maybe there's a way of doing something complementary, using this to > obtain the missing primitives? That might be possible too. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Racket in a browser?

2011-04-10 Thread Jens Axel Søgaard
2011/4/10 Eli Barzilay : > 25 minutes ago, Jens Axel Søgaard wrote: >> 2011/4/10 Shriram Krishnamurthi : >> >> One advantage with the LLVM solution is that one is sure that the >> >> semantics of the parts of Racket that are implemented in C will >> >&g

Re: [racket] Racket in a browser?

2011-04-13 Thread Jens Axel Søgaard
e linker unit Which one is the correct one depends on how the C compiler uses the LLVM backend. I do not know which is correct for llvm-gcc. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Getting started with R6RS

2011-05-14 Thread Jens Axel Søgaard
language dialog even though it is not strictly needed? When a beginner see R5RS in the list and R6RS is no where to be found, he could easily come to the conclusion R6RS is not supported. -- Jens Axel Søgaard _ For list-related administrative tasks

Re: [racket] upcoming FLOSS Weekly

2011-05-26 Thread Jens Axel Søgaard
Great show. It is the perfect overview for anyone new to Racket. It definitely should be on the front page of racket-lang.org for a while. It's on YouTube too so embedding it is easy: http://www.youtube.com/watch?v=vJGV7HaTdbg -- Jens Axel Sø

Re: [racket] Some design "whys" of regexps in Racket

2011-06-04 Thread Jens Axel Søgaard
2011/6/4 Rodolfo Carvalho : > Hello, > I'm curious about 2 design decisions made: > 1) Why do I have to escape things like "\d{2}" -> "\\d{2}"? You can actually avoid escaping if you use here strings. See the example below. Source begins here: #lang racket (define the-text-to-be-searched #

Re: [racket] Conversion of sexprs to strings?

2011-06-20 Thread Jens Axel Søgaard
2011/6/20 Kazimir Majorinc > Is there some built in like write-to-string in some dialects, or some trick > to avoid writing my own "code walker"? > > R5RS or R6RS if possible. Use http://docs.racket-lang.org/r6rs-lib-std/r6rs-lib-Z-H-9.html?q=open%20output%20string#node

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

2011-08-07 Thread Jens Axel Søgaard
suggesting that this style should be adapted, but adding a discussion section would be a good move. Back to the guy on Reddit. He had a bad experience with the documentation, but (presumably) never reported it. Maybe he would "Report a bug" link on each page encourage more fee

[racket] Building PLaneT documentation in the background?

2011-08-11 Thread Jens Axel Søgaard
Testing Nadeem's new PLaneT package in the spirit "I'll just *quickly* try the first example, I was a little annoyed that I had to wait for the documentation to build, before I could get to the action. Is it be possible to let DrRacket build PLaneT documentation in the background?

Re: [racket] Interned and uninterned symbols

2011-08-16 Thread Jens Axel Søgaard
Thus string->uninterned-symbol can be thought of as "generate a symbol, but don't put it in the global hash table of symbols". More abstractly: "Generate a unique symbol." -- Jens Axel Søgaard _ For list-related administra

Re: [racket] PLaneT (Was: are people using untyped/snooze?)

2011-08-19 Thread Jens Axel Søgaard
c8dc12bd8a229edd6e717ae1709c4b398> )) to use a specific commit directly from GitHub. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Help On User Libraries - The Basics

2011-08-21 Thread Jens Axel Søgaard
g? > Have you tried using "raco make c1.rkt" to compile the files? http://docs.racket-lang.org/raco/make.html?q=raco%20make -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket-users] Science graphics with Racket?

2017-10-23 Thread Jens Axel Søgaard
; -- > 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 racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.go

Re: [racket-users] Science graphics with Racket?

2017-10-23 Thread Jens Axel Søgaard
dc end-doc)) (save-pict-as-svg p 300 300 "output.svg") 2017-10-23 21:39 GMT+02:00 Jens Axel Søgaard : > Here is how to do it using MetaPict: > > #lang racket > (require racket/draw metapict) > > (set-curve-pict-size 300 300) ; width and height of image > (ahlengt

Re: [racket-users] DrRacket highlighting in Beginning Student language

2017-10-25 Thread Jens Axel Søgaard
t; For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- 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 racket-users+unsubsc

Re: [racket-users] switching to an alternate syntax using a lang extension: binding issues

2017-11-10 Thread Jens Axel Søgaard
fre. 10. nov. 2017 kl. 08.23 skrev Vincent Nys : > Perhaps http://docs.racket-lang.org/multi-file-lang/index.html can be of use? -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this g

Re: [racket-users] strange behaviour of procedure partitions

2017-11-12 Thread Jens Axel Søgaard
sers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are

Re: [racket-users] What is the right way to generate HTML from the web server?

2018-01-04 Thread Jens Axel Søgaard
ssion to write the html, which is very convenient. > -- -- Jens Axel Søgaard -- 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 racket-users+unsubscr..

Re: [racket-users] Replacing nodejs with Racket... possible?

2018-02-10 Thread Jens Axel Søgaard
it, send > an email to racket-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe

Re: [racket-users] Does Racket offer anything for implementing a language with its own GC that could manage GPU memory?

2018-02-11 Thread Jens Axel Søgaard
urce uses Racket primitives) will allocate values on the standard heap and use the built-in garbage collector in Racket. It is possible to use low-level primitives to allocate memory that the Garbage collector won't touch though. See "Inside: Racket C API". http://docs.racket-lan

Re: [racket-users] racket/draw unable to load some font-weights on macOS?

2018-02-17 Thread Jens Axel Søgaard
ont [1] >> should >> > anyone wish to replicate my results for themselves. >> > >> > How would I best go about finding out what is happening here? Are >> certain >> > words like “book” or “text” just not recognized/useable as a font >> weight on

Re: [racket-users] a matrix question

2018-03-25 Thread Jens Axel Søgaard
receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" gro

Re: [racket-users] Struct general question

2018-03-26 Thread Jens Axel Søgaard
2018-03-26 17:58 GMT+02:00 Kevin Forchione : > In another thread on structs it was confirmed that structs are in essence > a vector with some fancy bindings associated. But there must be more going > on, for instance, the definition (struct foo (A B)) creates a function foo > that when applied doe

<    1   2   3   4   5   6   7   8   >