<casaca>
greetings racketeers. i'm getting `Unrecognized command: test` when running `raco test some-file`. what pkg would i need to install, in order to pull the least amount of deps possible?
thallada has joined #racket
dustyweb has joined #racket
orivej has quit [Ping timeout: 272 seconds]
thallada has quit [Ping timeout: 245 seconds]
audriu has joined #racket
pera has joined #racket
thallada has joined #racket
thallada has quit [Ping timeout: 272 seconds]
Lowl3v3l has quit [Ping timeout: 240 seconds]
thallada has joined #racket
jcowan has joined #racket
thallada has quit [Ping timeout: 268 seconds]
thallada has joined #racket
thallada has quit [Ping timeout: 250 seconds]
thallada has joined #racket
longshi has joined #racket
thallada has quit [Ping timeout: 244 seconds]
thallada has joined #racket
thallada has quit [Ping timeout: 244 seconds]
jao has quit [Disconnected by services]
jao has joined #racket
thallada has joined #racket
Sauvin has quit [Read error: Connection reset by peer]
thallada has quit [Ping timeout: 245 seconds]
orivej has joined #racket
thallada has joined #racket
thallada has quit [Ping timeout: 268 seconds]
casaca has quit [Ping timeout: 240 seconds]
thallada has joined #racket
ubLIX has joined #racket
thallada has quit [Ping timeout: 246 seconds]
thallada has joined #racket
ubLIX has quit [Read error: Connection timed out]
widp_ has joined #racket
ubLIX has joined #racket
longshi has quit [Quit: WeeChat 2.3]
buyfn has joined #racket
thallada has quit [Ping timeout: 244 seconds]
Falacer has quit [Ping timeout: 250 seconds]
endformationage has quit [Ping timeout: 250 seconds]
thallada has joined #racket
thallada has quit [Ping timeout: 240 seconds]
<johnjay>
racket has []?
<johnjay>
TIL
FreeFull has joined #racket
FreeFull has quit [Quit: kernel update]
<greghendershott>
() [] {} as you like
FreeFull has joined #racket
<greghendershott>
there are some conventions/idioms you may see, when to use which, but they're only conventions
<greghendershott>
For `#lang racket`. A `#lang X` might treat them differently.
keep_learning has quit [Quit: Ping timeout (120 seconds)]
<aeth>
You will never take my ()s from me!
<aeth>
Parens for life!
<aeth>
I mean, yeah, I'll match the style of whatever the file is using, but for my stuff, only parentheses.
<rain1>
I have been thinking recently that {} could be used for hash tables, like {k v k v}
<rain1>
what do you think?
thallada has joined #racket
<aeth>
Not sure that's useful. What does {k v k v} offer over (hash k v k v)? (not sure what racket uses here... looks like that's exactly what it uses though, even though I just came up with it)
<rain1>
the benefit is that it can be used inside a quote
<aeth>
ah
<aeth>
Well, I'd just use ,(hash ...)
<aeth>
It looks like there is a literal syntax, though. (hash 'foo 42) => '#hash((foo . 42))
<aeth>
A bit more awkward than yours
<aeth>
I think it's pretty cool how the intuitive guess syntax was exactly what it actually is in Racket, though.
Fernando-Basso has joined #racket
<aeth>
The Scheme family tends to be pretty good at discoverability through consistent API design.
thallada has quit [Ping timeout: 240 seconds]
thallada has joined #racket
<johnjay>
does racket compile to C?
mzan has joined #racket
<aeth>
I don't think so. I think that's just (among the major Schemes) Chicken Scheme
<aeth>
Compiling to C doesn't automatically give you C-level performance because there's mismatches in semantics when your language is very different (like with Racket).
audriu has quit [Remote host closed the connection]
<aeth>
Even LLVM IR has issues because it's designed primarily for C++-like languages.
casaca has joined #racket
eagleflo has quit [Ping timeout: 272 seconds]
<aeth>
Of course, I'm just going off of what I've heard on IRC and I am not an expert in this area.
endformationage has joined #racket
<dTal>
I thought the idea was that C matched the machine semantics well, and any language has to match those anyway
<dTal>
(Of course modern CPUS are increasingly distant from PDP-11 CPUs, but it's not clear to me that any other languages do better abstraction-wise, with the exception of array languages which can take advantage of AVX type instructions
<aeth>
C never matched machine semantics. For example, C doesn't have multiple return values, but nothing is stopping your natively-compiled programming language from having those.
<aeth>
C's supposed to be high level, and it's high level in a different way than $foo
<aeth>
What C *does* (probably) match is the operating system you're using.
<aeth>
I think most operating systems are still C and/or C++.
Fernando-Basso has quit [Remote host closed the connection]
<aeth>
Chicken, Gambit, MIT, and Stalin are the only notable ones on that list, afaik, and Chicken and Gambit are the only notable and active ones? Or am I mistaken?