Re: [racket] Windows FFI Problem

2015-01-15 Thread Dmitry Pavlov
I am attempting to use this C library I've written with the Racket FFI, but (ffi-lib "mylib") reports "The specified module could not be found.; errno=126". This only happens on Windows. On Linux the library gets loaded properly and I can use it fine. What could be the problem? The problem co

Re: [racket] Windows FFI Problem

2015-01-15 Thread Lehi Toskin
On Thu, 15 Jan 2015 18:55:41 -0700, Matthew Flatt wrote: > At Thu, 15 Jan 2015 22:10:35 + (UTC), Lehi Toskin wrote: >> I am attempting to use this C library I've written with the Racket FFI, >> but (ffi-lib "mylib") reports "The specified module could not be >> found.; >> errno=126". This only

Re: [racket] Windows FFI Problem

2015-01-15 Thread Matthew Flatt
At Thu, 15 Jan 2015 22:10:35 + (UTC), Lehi Toskin wrote: > I am attempting to use this C library I've written with the Racket FFI, > but (ffi-lib "mylib") reports "The specified module could not be found.; > errno=126". This only happens on Windows. On Linux the library gets > loaded properl

[racket] racket runs very slowly

2015-01-15 Thread Carl Eastlund
I just updated my Racket clone and rebuilt it for the first time in quite a while. Now every command I run is extremely slow. 'raco --help' takes 15 seconds. 'racket -e "(void)"' takes 20 seconds. Does anyone know what might be going on? Carl Eastlund Racket Users list:

Re: [racket] What is `Apparent Identifier Binding`?

2015-01-15 Thread Ryan Culpepper
"Apparent identifier binding" just shows the result of the identifier-binding function. It is labeled "apparent" because macro expansion is a discovery process, and if the identifier is in an unexpanded part of the program, the macro expander might discover additional binding forms that change

[racket] Windows FFI Problem

2015-01-15 Thread Lehi Toskin
I am attempting to use this C library I've written with the Racket FFI, but (ffi-lib "mylib") reports "The specified module could not be found.; errno=126". This only happens on Windows. On Linux the library gets loaded properly and I can use it fine. What could be the problem? signature.asc De

[racket] What is `Apparent Identifier Binding`?

2015-01-15 Thread Spencer Florence
Hey All, I'm trying to understand why two identifiers I have don't reference the same value. If I look at them in the macro stepper all of their properties and marks are the same, with the exception of "Apparent identifier binding". One has "lexical (all phases)" and the other "none". What is "App

Re: [racket] htdp/2e: on the choice of some names

2015-01-15 Thread Matthias Felleisen
On Jan 15, 2015, at 10:56 AM, Daniel Bastos wrote: > (*) Curiosity > > 1. I wonder what BS stands for in this definition. > > ; A BS is one of: > ; — "hello", > ; — "world", or > ; — pi. > > Is it just a synonym for nonsense? Nothing in particular but I should change it because of its bad c

[racket] htdp/2e: on the choice of some names

2015-01-15 Thread Daniel Bastos
(*) Curiosity 1. I wonder what BS stands for in this definition. ; A BS is one of: ; — "hello", ; — "world", or ; — pi. Is it just a synonym for nonsense? 2. I figure "MT" means "empty" because of how it sounds. Is that it? ; an empty scene: (define MT (empty-scene 100 100)) 3. I figure "posn

Re: [racket] Performance help

2015-01-15 Thread Gustavo Massaccesi
I just submitted new PR: https://github.com/jmoy/norvig-spell/pull/4 I moved `(in-value (substring rht 1))` so it's calculated only once. This change reduces the time in my machine from 14,4s to 13,3s. The new implementation has too many `in-value`. I was wondering if it would be a good idea to h

[racket] Mathematics of Program Construction (MPC 2015): final call for papers

2015-01-15 Thread José Pedro Magalhães
Apologies for multiple copies. FINAL CALL FOR PAPERS 12th International Conference on Mathematics of Program Construction, MPC 2015 Königswinter, Germany, 29 June - 1 July 2015 http://www.cs.ox.ac.uk/conferences/MPC2015/ BACKGROUND The MPC conferences aim to promote the development of mathemat

Re: [racket] Current advice on making a 'script'

2015-01-15 Thread Norman Gray
Jens Axel, hello. > On 2015 Jan 14, at 21:45, Jens Axel Søgaard wrote: > > Perhaps the demodularizer could be used to produce a single .zo file, > and the script could simply start it? > >http://docs.racket-lang.org/raco/demod.html?q=raco That looks like the sort of thing I was after -- a

Re: [racket] ok what's wrong there 'syntax-rule' evaluating its operand (??)

2015-01-15 Thread Alexis King
This isn’t so much about interning or gensym (though those are useful when you do try to break hygiene). Every syntax object in Racket contains information about its lexical scope, so even identical symbols may not refer to the same bindings since they’re not in the same lexical scope! If my und

Re: [racket] ok what's wrong there 'syntax-rule' evaluating its operand (??)

2015-01-15 Thread Thomas Lynch
thank you! .. of course that makes sense. I guess that gensym and uninterned symbols have something to do with this? The identifiers in the macro are 'interned' (is that the terminology? rather than renamed?) so in fact table-auth was never defined. Then at run time there are complaints as such