samth changed the topic of #racket to: Racket v7.8 has been released: https://blog.racket-lang.org/2020/08/racket-v7-8.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
selimcan has quit [Ping timeout: 256 seconds]
catonano_ has joined #racket
catonano has quit [Ping timeout: 272 seconds]
catonano_ is now known as catonano
ech has quit [Ping timeout: 240 seconds]
epony has quit [Remote host closed the connection]
ech has joined #racket
epony has joined #racket
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
_whitelogger has joined #racket
phillbush has quit [Quit: Leaving]
phillbush has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
phillbush has quit [Remote host closed the connection]
epony has quit [Ping timeout: 258 seconds]
mirrorbird has quit [Remote host closed the connection]
mirrorbird has joined #racket
epony has joined #racket
epony has quit [Remote host closed the connection]
epony has joined #racket
<samth> bremner: i think the idea is that since the sexpression structure is still there, the highlighting is helpful. #; is definitely not discouraged.
mirrorbird has quit [Ping timeout: 272 seconds]
dustyweb has quit [Ping timeout: 240 seconds]
ym555 has quit [Ping timeout: 265 seconds]
ym555 has joined #racket
ym555 has quit [Ping timeout: 260 seconds]
fredmanglis has joined #racket
orivej has quit [Ping timeout: 260 seconds]
fredmanglis has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
badkins has joined #racket
caente has quit [Ping timeout: 252 seconds]
badkins has quit [Ping timeout: 264 seconds]
badkins has joined #racket
_whitelogger has joined #racket
narimiran has joined #racket
badkins has quit [Ping timeout: 260 seconds]
aaaaaa has quit [Quit: leaving]
_whitelogger has joined #racket
endformationage has quit [Quit: WeeChat 2.9]
ym555 has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
epony has quit [Ping timeout: 258 seconds]
epony has joined #racket
mirrorbird has joined #racket
narimiran has quit [Ping timeout: 240 seconds]
narimiran has joined #racket
Sgeo_ has joined #racket
temp64 has joined #racket
Sgeo has quit [Ping timeout: 240 seconds]
conjunctive has quit [Ping timeout: 240 seconds]
conjunctive has joined #racket
badkins has joined #racket
narimiran has quit [Ping timeout: 265 seconds]
badkins has quit [Ping timeout: 256 seconds]
selimcan has joined #racket
DGASAU has quit [Ping timeout: 240 seconds]
sputny has joined #racket
_whitelogger has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
orivej has joined #racket
<bremner> samth: did you mean the highlighting is not helpful?
Sgeo_ has quit [Read error: Connection reset by peer]
nullcone has quit [Quit: Connection closed for inactivity]
sputny1 has joined #racket
sputny has quit [Ping timeout: 272 seconds]
sputny1 is now known as sputny
sagax has joined #racket
MetaHertz has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
badkins has joined #racket
<samth> bremner: no, I mean that the normal highlighting is helpful
<bremner> oh I see.
<bremner> fwiw I prefer the racket-mode behaviour of using comment-style for the commented out s-expr
<bremner> but I mainly use racket-mode for classroom demos, so my goals might be different.
<bremner> err. mainly use drracket
badkins has quit [Ping timeout: 258 seconds]
mirrorbird has quit [Ping timeout: 272 seconds]
phillbush has joined #racket
TCZ has joined #racket
<notnotdan> Is there a contract that validates lists up to certain length?
<notnotdan> I cannot find one in the standard library
temp64 has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
<evdubs> notnotdan, i take it you don't want to use list/c? https://docs.racket-lang.org/reference/data-structure-contracts.html#%28def._%28%28lib._racket%2Fcontract%2Fbase..rkt%29._list%2Fc%29%29
<evdubs> (list/c any? any? any?) for a list of 3 elements
<evdubs> i don't think there's a way to use list/c for an arbitrary length up to a maximum
phillbush has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 246 seconds]
mirrorbird has joined #racket
mirrorbird has quit [Ping timeout: 272 seconds]
mirrorbird has joined #racket
mirrorbird has quit [Quit: Leaving]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
notzmv has quit [Ping timeout: 256 seconds]
<notnotdan> evdubs: yeah i looked at this, but it's for lists of fixed length, whereas i want to set up a max length of a list
<greghendershott> notnotdan: Not a predefined one. You can make your own. Any predicate function is a flat contract. The resulting error message might not be great.
<greghendershott> You could use flat-named-contract to rename it, or, use make-flat-contract for full control.
<notnotdan> Thanks! I already have a predicate, will try turning it into a contract
orivej has joined #racket
<greghendershott> Maybe not the best way but e.g. http://pasterack.org/pastes/10869
<greghendershott> Lazy-me normally just uses a predicate, when any resulting error message won't be too hard for me to figure out. If for different audience (e.g. a package or app or team), I might bother.
narimiran has joined #racket
caente has joined #racket
gremly has joined #racket
notzmv has joined #racket
badkins has joined #racket
orivej has quit [Ping timeout: 256 seconds]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
badkins has quit [Ping timeout: 265 seconds]
dustyweb has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
TCZ has quit [Quit: Leaving]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
badkins has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
caente has quit [Ping timeout: 272 seconds]
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
TCZ has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
orivej has joined #racket
badkins has quit [Remote host closed the connection]
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
phillbush has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
badkins has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
<dzoe> Anyone using db module with postgresql and session variables?
<dzoe> query-exec "set timezone to 'cet'" does not change anything - however in psql client it works as documented.
<dzoe> The db module does not say anything about particular limitations of queries sent to server and it does not throw any error.
notzmv has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
mirrorbird has joined #racket
mirrorbird has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
<dzoe> Apparently it returns sql-timestamp? with tz 0, although the server (probably) responds with the CET timezone. Strange at best.
<dzoe> Ah, it is documented! Got it.
badkins has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
arpunk has quit [Ping timeout: 240 seconds]
nullcone has joined #racket
badkins has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
phillbush has quit [Ping timeout: 256 seconds]
badkins has quit [Remote host closed the connection]
Sgeo has joined #racket
phillbush has joined #racket
phillbush has quit [Client Quit]
badkins has joined #racket
endformationage has joined #racket
temp64 has joined #racket
FreeFull has joined #racket
FreeFull has quit [Read error: Connection reset by peer]
phillbush has joined #racket
corpix has quit [Quit: corpix]
caente has joined #racket
FreeFull has joined #racket
sputny has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 264 seconds]
mirrorbird has joined #racket
selimcan has quit [Ping timeout: 264 seconds]
selimcan has joined #racket
mirrorbird has quit [Quit: Leaving]
casaca has quit [Remote host closed the connection]
FreeFull has quit []
casaca has joined #racket
ym555 has quit [Ping timeout: 256 seconds]
notzmv has joined #racket