samth changed the topic of #racket to: Racket v7.7 has been released: https://blog.racket-lang.org/2020/05/racket-v7-7.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
badkins has joined #racket
nebunez has joined #racket
catonano_ has joined #racket
badkins has quit [Ping timeout: 256 seconds]
catonano has quit [Ping timeout: 246 seconds]
catonano_ is now known as catonano
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
libertyprime has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
libertyprime has quit [Quit: leaving]
mirrorbird has joined #racket
Batzy has quit [Quit: WeeChat 2.8]
mirrorbird has quit [Quit: Leaving]
endformationage has quit [Quit: WeeChat 2.7.1]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
evhan` is now known as evhan
nebunez has quit [Ping timeout: 240 seconds]
Sgeo has quit [Read error: Connection reset by peer]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
hendursaga has quit [Remote host closed the connection]
mirrorbird has joined #racket
hendursaga has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
mirrorbird has quit [Ping timeout: 272 seconds]
orivej has joined #racket
mirrorbird has joined #racket
orivej has quit [Ping timeout: 240 seconds]
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket
mirrorbird has quit [Quit: Leaving]
badkins has quit [Ping timeout: 256 seconds]
orivej has joined #racket
badkins has joined #racket
selimcan has joined #racket
mirrorbird has joined #racket
DGASAU has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 246 seconds]
<samth> griffinbyatt: what do you mean by "opaque"?
<griffinbyatt> samth: a base type only defined by its predicate, like it’s done via the #:opaque option here: https://docs.racket-lang.org/ts-reference/special-forms.html#%28form._%28%28lib._typed-racket%2Fbase-env%2Fprims..rkt%29._require%2Ftyped%29%29
<samth> griffinbyatt: i guess i mean what do you need this for? in general, just using a struct should do everything you can do with an opaque type, and you can just not export the accessors
<griffinbyatt> Well, what I’m trying to do is a bit of a hack, and opaque types just seemed to be the best option. I’m trying to get more useful refinement types - e.g. I want a String that does not have the prefix “//“. Since typed racket’s refinements don’t allow that, I’m able to “fake” that behavior using an opaque type. `(Refine [n : String] (: n String-Without-Slash))`
orivej has joined #racket
Sgeo has joined #racket
badkins has joined #racket
nebunez has joined #racket
badkins has quit [Ping timeout: 246 seconds]
dddddd has quit [Ping timeout: 265 seconds]
dddddd has joined #racket
Batzy has joined #racket
MetaHertz has quit [Read error: Connection reset by peer]
nullcone has joined #racket
nebunez has quit [Ping timeout: 240 seconds]
lavaflow has quit [Ping timeout: 246 seconds]
lavaflow has joined #racket
MetaHertz has joined #racket
dbmikus has joined #racket
remexre has joined #racket
CodeSpelunker has joined #racket
badkins has joined #racket
nebunez has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
mirrorbird has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
sagax has quit [Ping timeout: 240 seconds]
dmiles has quit [Ping timeout: 256 seconds]
dbmikus has quit [Quit: WeeChat 2.9]
dmiles has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
mason has quit [Remote host closed the connection]
mason has joined #racket
Sauvin has quit [Read error: Connection reset by peer]
badkins has joined #racket
mason has quit [Remote host closed the connection]
mason has joined #racket
orivej has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins_ has joined #racket
sagax has joined #racket
countvajhula has joined #racket
MetaHertz has quit [Remote host closed the connection]
<countvajhula> is there a standard function that evaluates to one of its arguments *by position*?
<countvajhula> e.g. (second-arg 5 6) ; => 6
CodeSpelunker has quit [Remote host closed the connection]
CodeSpelunker has joined #racket
mirrorbird has joined #racket
MetaHertz has joined #racket
TCZ has joined #racket
miklos1 has joined #racket
miklos1 has left #racket [#racket]
nebunez has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
countvajhula has quit [Ping timeout: 244 seconds]
<erkin> (if #f 5 6) => 6
mirrorbird has quit [Ping timeout: 246 seconds]
CodeSpelunker has quit [Quit: CodeSpelunker]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
orivej has joined #racket
ebsen has joined #racket
ebsen has quit [Client Quit]
<nisstyre> I was going to say const then I forgot racket doesn't let you do (f a b) as syntactic sugar for ((f a) b)
<nisstyre> and doesn't auto curry stuff obviously
badkins_ has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
phillbush has joined #racket
<phillbush> Hello, I'm reading sicp and using racket. I'm new to lisp. Is there any library I can include in my racket files so I do not have to define accumulate every time, for example?
<phillbush> and other basic procedures like prime? and divides?
phillbush has quit [Quit: Leaving]
<bremner> oops, I was just going to answer
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
evdubs has quit [Quit: Leaving]
evdubs has joined #racket
orivej has quit [Ping timeout: 260 seconds]
badkins has joined #racket
orivej has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]