vascorsd, to programming
@vascorsd@mastodon.social avatar

You may not like it, but hear me out...

For new code using the newer weird white space syntax you should try to configure the formatter to give you 3 spaces as the indent.

It just makes everything better. Go and try 🫣 :catPOWER:

I tried it the other day before turning the newer syntax off completely and it looked much better than 2 spaces.

:blobpeek:

philip_schwarz, to programming
@philip_schwarz@fosstodon.org avatar

just uploaded to https://fpilluminated.com 🚀🆕 : "A Sighting of filterA in Typelevel Rite of Passage" - based on a short extract from Rock the JVM's great video course

direct link: https://fpilluminated.com/deck/220

vascorsd, to programming
@vascorsd@mastodon.social avatar

And am extremely confused with some of new syntax. So if I have a enum with a case X I can't simply add a method for a specific case by just doing

enum AST
case Str(v : String) {
def newMethodIWantHere...
}

Seems very weird. Probably doing something wrong again 🤔😮‍💨

#scala

vascorsd, to programming
@vascorsd@mastodon.social avatar

Holy cow, I enabled strict equality on #scala to see if it fixed my problems and now I have to manually add a "derives CanEqual" to every enum that I want to compare. Wth :aaaa: :welp: :wyd:

vascorsd, (edited ) to programming
@vascorsd@mastodon.social avatar

I was pointed out yesterday to scodec for . It has some important things there that seem very useful and will likely use it.

It's just pretty sad that such a known, useful, stable library has most of the site with incomplete docs, broken links and incomplete released version numbers.

Example:

🫣

vascorsd,
@vascorsd@mastodon.social avatar

In general the official API docs are very very lacking and generally suck.

Methods have barely any description on them. There are no examples in most methods to understand them. Important methods and collections lack explanation of their characteristics related to performance, runtime, O notations of each etc. Barely describe where each is more appropriate vs others, etc.

🫣

dwardoric, to programming German
@dwardoric@chaos.social avatar

Another small point release for the Smederee, your frugal Darcs software forge. 🎉 😍

Just small things and lots of dependency updates.

https://smeder.ee/~jan0sch/smederee

#Smederee #Darcs #Selfhosting #Scala

vascorsd, to programming
@vascorsd@mastodon.social avatar

You know what, don't try to define an implicit conversion from String to List[Char] in .

I leave this advice to the world.
Keep your sanity.
I've warned you 😮‍💨.

given Conversion[String, List[Char]] = _.toList

I was looking at the errors for a few minutes wondering why the fuck 😅

vascorsd, to programming
@vascorsd@mastodon.social avatar

It would be cool if the links in the docs of to "Source" would actually work 😮‍💨

lpil, to programming
@lpil@hachyderm.io avatar

Does anyone have data on how #Scala 3 adoption is going? 2 vs 3 package downloads per month, for example

vascorsd, to programming
@vascorsd@mastodon.social avatar

Sophie Collard CONTRAVARIANCE: INTUITION BUILDING AND EXAMPLES Scalar Conference 2024
https://www.youtube.com/watch?v=YSpkToittJY

#scala #programming #fp

vascorsd, to programming
@vascorsd@mastodon.social avatar

Nicolas Rinaudo THE DEBATABLY FREE MONAD Scalar Conference 2024
https://www.youtube.com/watch?v=Yci07bMTcsM

#fp #scala #freemonad #programming

alexelcu, to programming
@alexelcu@social.alexn.org avatar

This is old news, but there's now an official announcement — Apache Pekko is now a top-level project:

https://news.apache.org/foundation/entry/apache-software-foundation-announces-new-top-level-project-apache-pekko

raquo, to programming
@raquo@mastodon.social avatar

Laminar v17 is finally here! 🎉Lots of new features across the board, as well as some bug fixes.

https://laminar.dev/blog/2024/05/14/laminar-v17.0.0

deadblackclover, to programming
@deadblackclover@functional.cafe avatar

SPSC: A Small Positive Supercompiler

https://sergei-romanenko.github.io/spsc/

#supercompiler #scala

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines