Morning all. Wondering what’s the racket
way of doing things. How would you define internal helper functions inside a define
? Would you use let
, letrec
or yet another define
?
@pocmatos I’d use another define
@samth any reason for that? Is this just aesthetic preference, performance reasons or the fact that let and friends cause quite a large indentation?
both aesthetics and indentation
@leafac missed that, thanks.
Sure :slightly_smiling_face:
@nlightnfotis has joined the channel
Hello
Guys do you know any other channels except this one and functional programming, that are related to PLT and language design?
“Channel?” Well, there’s the racket-users
mailing list.
Thanks for the pointer to the ‘Choosing the Right Construct’ @leafac.
Question about that — it says “the identity function is ‘values’” What’s wrong with ‘identity’?
Nothing wrong with it, but they are different. While “values” is available in “racket/base”, “identity” is part of “racket/function”, which must be explicitly imported in a “#lang racket/base” program. Also, “(values 1 2)” returns two values, and “(identity 1 2)” is an arity mismatch.
@ben since people seem interested in paying for stickers etc, you might look at https://devswag.com/pages/selling-on-devswag
@tonyg Are you coming in?
Has anyone attempted to use mmap
via the FFI?
samth: I vaguely recall having done so
ooh, if you have code that would be great
@thinkmoore my attempts so far keep segfaulting
i’m grepping now… might be mis-remembering
ah, looks like I was mmap’ing from the C side of that particular project
too bad
@stamourv Would it be possible to get the 2016 RacketCon page put at: http://con.racket-lang.org/2016
(I noticed that if I go there right now I get a 404 and an uncaught exception error: > ((uncaught-exception-handler)
(*(+(*)(*(+(*)(*)(*)(*)(*))(+(*)(*)(*)(*)(*))(+(*)(*)(*)(*))))(+(*)(*)(*)(*))))
that’s just an easter egg
bmastenbrook Well ya, I figured that much.
But that URL should point to the RacketCon webpage for 2016.
Even if at the moment its a redirect to the RacketCon URL
erm, racketcon homepage
@leif: No cycles ATM. Want to do it?
@stamourv I’m happy to do it, I just need to make sure I wouldn’t be stepping on your toes. :wink:
@stamourv Do you think it would be a good idea to remark on new packages added to the package catalog in the racket release announcement? It’s not really directly related to the release, but often there’s lots of new Racket stuff that occurs outside the main distribution and it’s difficult to find out about it.
@notjack: Yeah, that’s an idea. Package discoverability could use some help.
Using the blog in general to promote packages would probably help too
@notjack: Good idea also! I nominate you. :)
Just submit PRs to the racket-lang-org repo, and I’ll upload your posts.
is that where blog posts go? :p
Yes. There’s a frog insance in the blog
directory.
is that because matthew redid the blog? or was it always done via github PRs?
That’s new from MB’s blog redesign. Was some blogger thing before.
I see the Pollen code, so I’m guessing this is a fairly new setup :P
Much better now!
The pollen code is for the main page.
Look in the blog directory. There should be markdown files in the _posts dir.
And from there you can use raco frog, etc.
there’s no _posts dir but there’s a _src/posts dir, that looks like what I want
Right, that’s the one.
Was going from memory. :)
Neat :) a semi-regular package spotlight post series of some sort would be pretty cool
Absolutely!
When should I expect the first one? ;)
oh no, I’m not giving you a deadline yet :wink: