<xgqt>
system error: No such file or directory; errno=2
<xgqt>
this is the only error i get in that case
<samth>
does that file exist?
<xgqt>
the ebuild installs it compressed; im gonna uncompress it
<xgqt>
samth: ok, now i dont get any errors, just 2 warnings from rash and shell-pipeline
TCZ has joined #racket
<xgqt>
hm, i guess it somehow needed that DB that was installed alongside docs :/
orivej has quit [Ping timeout: 256 seconds]
<xgqt>
samth, bremner: thanks a lot :D
<samth>
No problem
orivej has joined #racket
<xgqt>
do you know if racket needs pango & cairo at build/run time? (i'm interested in the case if i'm not building racket worh X(gtk) support)
rgherdt has quit [Ping timeout: 272 seconds]
srandon111 has quit [Ping timeout: 260 seconds]
srandon111 has joined #racket
<samth>
xgqt: it's needed if you want to do any graphics rendering/printing/etc
orivej has quit [Ping timeout: 246 seconds]
<xgqt>
samth: only in that case?
<samth>
right
<xgqt>
hmm i'm wondering which use flag would amke sense to enable those features
<xgqt>
im revisinting a racket ebuild script for Gentoo
<xgqt>
samth: what would you call those functions? gui? image?
<samth>
graphics, probably
<samth>
drawing?
<samth>
racket/draw, racket/gui, drracket, slideshow are some of the libraries that would be omitted
<xgqt>
i guess "graphics" fits
rgherdt has joined #racket
<xgqt>
gfx is a bit too far, is it?
srandon111 has quit [Ping timeout: 246 seconds]
KindTwo has joined #racket
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
remexre has joined #racket
m455 has joined #racket
<m455>
I don't know why i didn't join #racket sooner lol
hugo has joined #racket
aidalgol has quit [Remote host closed the connection]
sauvin has quit [Read error: Connection reset by peer]
<hugo>
Could someone help me a bit with typed racket? I'm trying to create a function which create matrices, but fail on the return type. http://pasterack.org/pastes/31619
<samth>
the problem is that if you don't give an initial value for `make-vector` it uses 0 doesn't have the right type
<hugo>
samth: Thanks!
<hugo>
Is there a reason that racket can't deduce the type in your example? And why it's not possible to go from (Vectorof Any) to (Vectorof (Vectorof A)) with a cast?
<samth>
the reason the type annotation is needed in my example is because `make-vector` produces a `(Vectorof a)` not a `Mutable-Vectorof`. (that's for historical reasons)
<samth>
the reason the cast doesn't work is because you can't cast to the type `A` since we don't know what it is -- it's a type variable
<hugo>
Is that what racket means with free variable in this context? That we don't yet know the type of A?
<samth>
it means that A is a free variable of the type you are casting to
pilne has joined #racket
Codaraxis has joined #racket
TCZ has quit [Quit: Leaving]
<bonz060>
:rgherdt Thanks! I got around to doing that and it worked.
TCZ has joined #racket
saladus has joined #racket
<rgherdt>
you're welcome
saladus has quit [Ping timeout: 272 seconds]
emacsomancer has quit [Ping timeout: 256 seconds]
emacsomancer has joined #racket
<dzoe>
Typed Racket ... when I tried it (again) a few weeks ago, it still feels slow.
<dzoe>
But in my case, it is a lots of fixnums and flonums generally.
<dzoe>
Let's see if I can come up with a decent alternative for these scenarios.
<dzoe>
Right now I am playing with making something like type annotations being part of the identifier and choosing the right procedures at syntax stage based on those.
<dzoe>
Also the matrix module's performance is terrible when compared to custom code. And I think it is possible to improve that generally - not only for specific cases.
<dzoe>
It's on my list ...
aidalgol has joined #racket
narimiran has quit [Ping timeout: 260 seconds]
nullcone has quit [Quit: Connection closed for inactivity]