next day →
last day (60 days later) »
Wezl
6:07 PM
CMC
: Reverse a list without the built-in
code-golf
room topic changed to CMC: For those too lazy to post on main [code-challenge] [code-golf]
user
@Wezl Husk, 4 bytes:
F`:ø
But since a builtin isn't very well-defined, I'm voting to close your challenge. I'm also downvoting it to teach you a lesson.
Wezl
no, the entire point of the room is for challenges that wouldn't go well on main
like ones that rely on bad definitions
whether it's a builtin is defined entirely by my opinion
user
I was joking
I don't know how to downvote you, so I simply flagged your message as spam/offensive
Wezl
well I'm upvoting it to make sure I don't learn a lesson :)
I'll also pin the latest challenges
user
Ok
Yay I'm in the first page of this room's transcript
Wezl
6:19 PM
@user can you explain this answer?
Husk is really interesting but I can't even run haskell :(
user
In Haskell, it'd be
foldl (flip (:)) []
Wezl
of course, I'm making a new language that's going to be better than haskell in every way, but still
@user oh nice
that's very readable
user
Basically, you just go from left to right prepending elements to the accumulator
@Wezl Whlplash? :P
Wezl
no, colon
user
I kinda want to make a language that combines APL and Rust/Haskell
@Wezl no,
comma
:P
Wezl
6:22 PM
which is a rewrite of concurr
user
@Wezl Is the repo public?
Oh cool, did you finish concurr?
Wezl
no because there's nothing in the repo
@user finish as in I'm done, yes
user
Cool
Wezl
but I didn't ever create a
full
implementation
user
I should make a minimal extension to racket/base and tell everyone I've made a new language
Wezl
6:25 PM
CMC
nevermind I shouldn't encourage sandbox sniping :/
1 hour later…
Wezl
7:36 PM
CMC
: Remove non-alphanumeric
user
Scala:
_.replaceAll([^A-Za-z0-9],"")
Wezl
wow, typical scala, having character set literals
tbf I'm against even having character literals, too
user
Oh wait I forgot double quotes around the regex
Wezl
oh so it doesn't have them
user
I misread "having character set literals" as "not having character set literals"
Yeah Scala doesn't have a lot of that weirdness, other than XML (which is removed in Scala 3 anyway)
hyper-neutrino
8:02 PM
jelly,
fØB
ez
next day →
last day (60 days later) »
all rooms
Transcript for
Apr '21
27
Apr
28
CMC
For those too lazy to post on main
code-challenge
code-golf
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile