lexi-lambda changed the topic of #racket to: Racket v7.1 has been released: http://blog.racket-lang.org/2018/10/racket-v7-1.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
amz3 has quit [Ping timeout: 244 seconds]
<ZombieChicken> Getting this error "irc-connect: unbound identifier". Is that complaining that irc-connect is undefined?
<ZombieChicken> found the problem. Just a formatting error on my part
libertyprime has joined #racket
amz3 has joined #racket
<lf94> I'm starting to think is it even worth learning r7rs instead of racket.
<aeth> lf94: lexi-lambda (I'm guessing, since the username matches) has a Racket library called r7rs: https://pkgs.racket-lang.org/package/r7rs
<lf94> I know, all I mean is: it is worth learning r7rs specifically.
<lf94> I thought it was a good idea
<lf94> but what you say makes sense: it will never be useful for large problems.
<lf94> but I also dont see what the issue is, importing functionality to get things like hash maps....
ZombieChicken has quit [Ping timeout: 256 seconds]
<aeth> The main issue is that then it's no longer r7rs, it's an extended superset of r7rs that only your code speaks.
<aeth> Clever use of abstractions could probably make it implementable on top of more than just #lang r7rs, though.
<lf94> Wait, what? I thought yeah, that hash map support would just be clever use of the tools already available in r7rs
<aeth> lf94: for hash tables you should probably implement SRFI-125. https://srfi.schemers.org/srfi-125/
groovy2shoes has joined #racket
dddddd has quit [Remote host closed the connection]
ZombieChicken has joined #racket
catonano_ has joined #racket
amz3 has quit [Ping timeout: 255 seconds]
catonano has quit [Read error: Connection reset by peer]
catonano_ is now known as catonano
<lf94> aeth: ah, chibi scheme implements this...
<lf94> to me this is not too bad
<lf94> I expect majority of schemes to implement this
<lf94> hash-table->alist
<lf94> ok that is nice.
libertyprime has quit [Ping timeout: 255 seconds]
<friscosam> part of it boils down to: Do you really need your code to be portable? R7RS can do that but you either have to reimpliment or make compatibility shims.
<lf94> I can live with this
<lf94> I expect hash tables to be common place in many r7rs impls
<lf94> they are just too useful
<aeth> You can expect the SRFIs that are going to be in r7rs-large to be fairly widely available
<friscosam> actually R7RS Red Edition has hash tables. It uses SRFI-125 and is under the standard name (scheme hash-table)
<lf94> perfect
<lf94> i'll be using that then
iyzsong has joined #racket
<lf94> oh wow. jcowan really is the authority when it comes to r7rs
<jcowan> It's a dirty job, but someone has to do it. :-)
<lf94> It probably means nothing, but I appreciate it.
<lf94> (I mean, me appreciating it, means nothing, heh)
<jcowan> No, your saying so means a lot, actually.
<lf94> I see this space around r7rs is starting to grow but I can't imagine what it will be like in years to come
<lf94> I expect great things
<jcowan> You can look at the WG2Dockets page to see what things are planned
<jcowan> of course any given thing may or may not make it into the standard
<aeth> Is r7rs-large large enough for racket-on-r7rs-large? Would be amusing to see different backends for Racket.
<friscosam> maybe if the ~1500 primitives were implemented
pera has joined #racket
<aeth> friscosam: but if it can be implemented on r7rs-large it only has to be done once
pera has quit [Ping timeout: 244 seconds]
<ZombieChicken> Anyone here used the irc lib? I'm trying to get one of the examples working to play with and I'm unsure why it doesn't seem to be joining
pera has joined #racket
<lexi-lambda> ZombieChicken: I’ve used it, but it’s been a while.
<ZombieChicken> yeah. I think I'm just going to write something myself. Not sure what is going on with it, but I'm questioning the sanity of using it
efm has quit [Read error: Connection reset by peer]
<rlavery> I'm good and confused about newlines. In my REPL they behave the way the documentation describes, but when writing to file with display, newlines are only displayed if they were string-appended by themselves with the other components of the final string. when I try to use (send the-clipboard set-clipboard-string <str>), newlines seem to be simply dropped.
<lexi-lambda> rlavery: I have no experience with the clipboard, but can you create a program that demonstrates what you mean with `display`?
<bremner> there's displayln if you want a newline automatically added
efm has joined #racket
<rlavery> lexi-lambda: yup, I was just confused. I mean, I'm still confused, but it's not display's fault. The clipboard thing is almost definitely a separate issue too. Thanks for the sanity check. >_<
<rlavery> .............I was filtering them out
<rlavery> :facepalm:
q9929t has joined #racket
q9929t has quit [Remote host closed the connection]
q9929t has joined #racket
FreeFull has quit []
pie__ has joined #racket
rlavery has quit [Quit: Page closed]
pie___ has quit [Ping timeout: 268 seconds]
selimcan-i_sani has quit [Remote host closed the connection]
catonano has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 255 seconds]
q9929t has quit [Quit: q9929t]
_whitelogger has joined #racket
_whitelogger has joined #racket
endformationage has quit [Quit: WeeChat 2.3]
<jcowan> equal? is structural equality, eqv? is identity, eq? is a performance hack that sometimes returns #f (characters, numbers, procedures) when eqv? would return #t.
pera has quit [Ping timeout: 250 seconds]
catonano has joined #racket
orivej has joined #racket
soegaard has joined #racket
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
lavaflow has quit [Read error: Connection reset by peer]
lavaflow has joined #racket
orivej has quit [Ping timeout: 250 seconds]
ng0 has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
iyzsong has quit [Read error: Connection reset by peer]
ZombieChicken has joined #racket
orivej has joined #racket
amz3 has joined #racket
dddddd has joined #racket
Arcaelyx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
soegaard has quit [Quit: soegaard]
iyzsong has joined #racket
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #racket
soegaard has joined #racket
jao has joined #racket
ym555 has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 255 seconds]
ubLIX has joined #racket
Fernando-Basso has joined #racket
soegaard has quit [Quit: soegaard]
lavaflow has quit [Read error: Connection reset by peer]
lavaflow has joined #racket
FreeFull has joined #racket
iyzsong has quit [Ping timeout: 245 seconds]
tmm88 has joined #racket
<lf94> "undefined variable: define-library"
<lf94> madness!
<lf94> (define-library 'hello (begin (+ 1 2 3)))
endformationage has joined #racket
<bremner> where should define-library be defined?
<lf94> scheme base?
<bremner> it doesn't show up on docs.racket-lang.org
<lf94> it's in r7rs document
<lf94> on defining libraries
<bremner> so, I guess you just discovered that racket is not r7rs by default
<lf94> I'm using chibi-scheme :v
<lf94> But you guys are very helpful here
<lf94> I can bring my r7rs questions somewhere else if that's what's preferred
<lf94> And I apologize
dustyweb has joined #racket
<dustyweb> hello #racket!
<lf94> hi :)
onawebuc has joined #racket
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
efm has quit [Quit: Konversation terminated!]
jao has quit [Ping timeout: 246 seconds]
Sgeo__ has joined #racket
Sgeo has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 255 seconds]
efm has joined #racket
onawebuc has quit [Remote host closed the connection]
onawebuc has joined #racket
selimcan has joined #racket
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 240 seconds]
onawebuc has left #racket ["ERC (IRC client for Emacs 26.1)"]
orivej has joined #racket
pera has joined #racket
jcowan has quit [Ping timeout: 264 seconds]
jcowan has joined #racket
dustyweb has quit [Remote host closed the connection]
dustyweb has joined #racket
tmm88 has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
endformationage has quit [Quit: WeeChat 2.3]
orivej has quit [Ping timeout: 246 seconds]
dustyweb has quit [Ping timeout: 264 seconds]
selimcan has quit [Remote host closed the connection]
wingsorc_ has joined #racket
soegaard has joined #racket
wingsorc_ has quit [Quit: Leaving]
ubLIX has quit [Ping timeout: 245 seconds]
orivej has joined #racket
TuringMachine has joined #racket
selimcan has joined #racket
jao has joined #racket
TuringMachine has quit [Quit: Byebye.]
amz3 has quit [Quit: WeeChat 2.2]
<friscosam> lf94: you'll probably have a bit better luck on #scheme unless the question is about the racket specific r7rs language
selimcan has quit [Remote host closed the connection]
efm has quit [Ping timeout: 245 seconds]
efm has joined #racket
wingsorc_ has joined #racket
soegaard has quit [Quit: soegaard]
selimcan has joined #racket
<selimcan> There isn't a racket-beginners channel, so apologies for a newbie question in: (define-syntax foo (lambda (stx) (check-equal? 0 1))) How should I change it so that the 'location' report by check-equal? is the location of (foo) where it's called?
<selimcan> *reported
<selimcan> I'm writing a tests for a rule-based machine translation system called Apertium, and the idea is to expand things like (test "source language string" "expected morphological analysis of it" "translation into X") and the like into check-equals, but naturally I need to know which of the initial (test)s failed if they do...
<selimcan> (and where in the source file they are located)
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
libertyprime has joined #racket
libertyprime has quit [Client Quit]
libertyprime has joined #racket
jao has quit [Ping timeout: 250 seconds]
wingsorc_ has quit [Quit: Leaving]
amz3 has joined #racket