I usually use this macro in a wrapper that require/provides the libs and
provides compatibility wrappers when needed
;; compile time version switch
(define-syntax (version=? stx)
(syntax-case stx ()
[(_ min-version body body-else)
(if (string=? (version) (syntax-e #'min-version))
.
_
Racket Developers list:
http://lists.racket-lang.org/dev
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
Hi,
i guess this shouldn't happen:
$ cat s.cc
#include stdio.h
int main()
{
printf(%zu\n, sizeof(bool));
}
$ g++ s.cc -o s
$ ./s
1
Welcome to Racket v6.0.0.5.
- (require ffi/unsafe)
- (ctype-sizeof _bool)
4
Tested with multiple unix/linux OS, all gcc 4.3.4
Tobias
. I'll add a `_stdbool` that corresponds to
`bool` from C99's stdbool.h, which I imagine must be the same as
`bool` in C++.
At Fri, 4 Apr 2014 08:56:18 +0200, Tobias Hammer wrote:
Hi,
i guess this shouldn't happen:
$ cat s.cc
#include stdio.h
int main()
{
printf(%zu\n, sizeof(bool));
}
$ g
All in one answer
On Tue, 01 Oct 2013 15:30:11 +0200, Neil Toronto neil.toro...@gmail.com
wrote:
On 10/01/2013 09:20 AM, Tobias Hammer wrote:
* monolithic math
currently math is one big package and installing it pulls in nearly
everything through the docs. Is it planned to split it into -lib
Hi,
i played a bit with the new package system, minimal installs and cross
compiling. It works pretty good but i have a few problems and
remarks/questions.
I start with a fresh yesterdays minimal source
(min-racket-5.90.0.9-src.tgz), build it (natively for linux) and try to
install
Hi,
Commit e51ac9cc [1] from about a month ago changed the allowed values for
local-transformer-expands context-v argument. It now refuses 'module and
'module-begin. Previously i could simply pass the result from
syntax-local-context.
I am not sure what i should pass now and what
to use 'module and
get the same effect as wrapping the form with `begin-for-syntax',
expanding with `local-expand', and removing the expansion again. Do you
have an example where you use 'module?
At Thu, 1 Aug 2013 10:12:16 +0200, Tobias Hammer wrote:
Hi,
Commit e51ac9cc [1] from about a month
, and weak variants that
inter-operate.
If there are no serious issues brought up in the next day or two, I'll
push
it to the development branch, since our current release process isn't
following HEAD.
Carl Eastlund
--
-
Tobias Hammer
DLR
be viable? They shouldn't be too hard
to implement i could create a patch if one of them seems ok.
Tobias
--
-
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail
on linux and they all seem to set PWD. But i
can't tell
if thats the default or specific to my installation.
At Wed, 17 Apr 2013 12:06:29 +0200, Tobias Hammer wrote:
Hi,
i am currently implementing an application that heavily relies on
rackets
great serialize functionality to exchange data
On Wed, 17 Apr 2013 17:25:02 +0200, Matthew Flatt mfl...@cs.utah.edu
wrote:
That matches my observations. Files accessed via collection always keep
their
paths 'as is'. But it is enough to start a program via racket file
instead of
racket -l what/ever to break this.
I should have mentioned
~raring_FAILEDTOBUILD.txt.gz
https://launchpadlibrarian.net/137533283/buildlog_ubuntu-raring-amd64.racket_5.3.4.3-20130416%7Eraring_FAILEDTOBUILD.txt.gz
--
-
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234
defaults.
You are probably right. We will most likely have to carry gccs default
i386 burden around until 32bit platforms die out.
Tobias
At Sat, 2 Feb 2013 01:26:06 +0100, Tobias Hammer wrote:
Thanks for the detailed explanation. It's a lot clearer now why it's
needed.
But i figured out
notes to
save others from spurious exceptions.
Tobias
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket
I of course meant the result vector of a sync on a log-receiver.
On Fri, 18 Jan 2013 16:30:45 +0100, Tobias Hammer tobias.ham...@dlr.de
wrote:
Between 5.3.1 and 5.3.2 the result value of make-log-receiver changed
from a guaranteed 3 element vector to a 4 element vector. That's
executables?
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket Developers list:
http://lists.racket-lang.org/dev
?
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket Developers list:
http://lists.racket-lang.org/dev
the
documentation for identifier macros and why does that documentation
imply
that normal transformers can't handle bare references?
Carl Eastlund
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket Developers list:
http://lists.racket-lang.org/dev
Is this easily added to for.rkt?
-Ian
_
Racket Developers list:
http://lists.racket-lang.org/dev
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
-
Tobias Hammer
DLR
On Sun, 11 Nov 2012 17:39:07 +0100, Matthew Flatt mfl...@cs.utah.edu
wrote:
At Wed, 7 Nov 2012 20:00:51 +0100, Tobias Hammer wrote:
i am currently playing around with properties attached to cstructs and
ran
into some problems.
Normally, with racket structs, i can access a property without
Just out of curiosity: What are your / the teams objections against some
kind of real versioning system that allows to
* specify a version number without creating a new package
* specify dependencies based on minimal version
* keep/pin a package at some particular version (maybe your code
prop ...)
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket Developers list:
http
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.dehangs, ctrl+c not working,
unexpected error from waitpid(138321064[1]): 10
unexpected error from waitpid(8345[1]): 10
unexpected error from waitpid(8344[1
'
implementation that cooperates with places.
Does your program use multiple places, or just one? If it uses multiple
places, does it use `subprocess' in multiple places?
Is your platform 32-bit Linux?
At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote:
Hi,
i am experiencing random crashes when
likely, I think
you want to generate an expression that constructs an `s' instead of
generating an `s' instance in the macro expansion.
At Thu, 26 Jul 2012 14:59:41 +0200, Tobias Hammer wrote:
Hi,
i have the following two files, one that only requires the other and
calls a macro and the other one
--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
Racket Developers list:
http://lists.racket-lang.org/dev
Hi,
i am getting a strange error message from racket if i use racket/gui in
the main module and only racket in a required one. If i load another
shared lib in the required module i get the following output:
jpeg: unsupported library version: unknown
=== context ===
Am 01/19/2012 02:02 PM, schrieb Matthew Flatt:
At Thu, 19 Jan 2012 13:30:40 +0100, Tobias Hammer wrote:
i am getting a strange error message from racket if i use racket/gui in
the main module and only racket in a required one. If i load another
shared lib in the required module i get
Hello,
raco make --no-deps seems to be broken:
default-load-handler: cannot open input file:
racket-5.2.0.6/collects/compiler/cffi.rkt (No such file or directory;
errno=2)
=== context ===
standard-module-name-resolver
racket-5.2.0.6/collects/compiler/compiler-unit.rkt:82:2: core50
31 matches
Mail list logo