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:

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 🤔😮‍💨

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

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.

🫣

vascorsd, to programming
@vascorsd@mastodon.social avatar

Holy cow, I enabled strict equality on 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:

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

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

#Scala #Akka #OpenSource

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. #Scala #ScalaJS

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

davesmith00000, to programming
@davesmith00000@mastodon.gamedev.place avatar

The UI work continues...

#scala #screenshotsaturday

vascorsd, to random
@vascorsd@mastodon.social avatar

2 things fixed on #archlinux today on my machine. Damn, I should wake earlier more times.

Imagine how powerful I could be with all this potential :angery:

vascorsd,
@vascorsd@mastodon.social avatar

I even had time to rebuild / update a bunch of #scala packages today :blobmiou: .

Me so powerful :catPOWER:

tymwol, to programming
@tymwol@hachyderm.io avatar

I'm reading this book on now and what can I say so far about the language, is that it can be summarized as ‘best effort to create a decent functional language given the limitations of JVM’. https://www.goodreads.com/book/show/13541678

nick_tune, to programming
@nick_tune@hachyderm.io avatar

One thing I liked about Scala was the ability to work fairly seamlessly with possible nulls using map, flatMap, orElse, getOrElse and so on....

My first impressions are that it's not so smooth in typescript out of the box to work with optionals.

Hopefully I'm just missing a few key concepts.

eed3si9n, to programming
@eed3si9n@mastodon.social avatar

released sbt 1.10.0 featuring

  • SIP-51 support for Scala 2.13 by @lrytz at Lightbend
  • a wide range of Zinc fixes by Jerry Tan et al
  • ConsistentAnalysisFormat by Stefan Zeiger at Databricks
  • CommandProgress API by Iulian Dragos at Gradle Inc
    https://eed3si9n.com/sbt-1.10.0 #Scala

a screencast of an sbt 1.10.0 session that demonstrates SIP-51 support. first, I type in

Ant8e, to programming
@Ant8e@fosstodon.org avatar
alexelcu, to typescript
@alexelcu@social.alexn.org avatar

Async/await in #TypeScript is essentially “direct style”. It will be interesting to see if Effect, a monadic effect system, will take off, as a case study for #Kotlin & #Scala — although for “direct style”, these have the advantage of context parameters.

https://effect.website

scala_space, to programming
@scala_space@softwaremill.social avatar

v1.3.0 is out! We have added support for Scala Native 0.5.1, which will now be the default version used by the CLI on the --native platform. Regarding Native, take note that some tools which Scala CLI integrates with are not yet available on Scala Native 0.5.x.

davesmith00000, to programming
@davesmith00000@mastodon.gamedev.place avatar

After a solid month or two of engine improvements, my little ASCII paint app looks like it did before! 💪
However, all the UI stuff now runs in a subsystem and all the layers are nested under one key, making the app logic far, far simpler. New Indigo release coming soon...

hamnis, to programming Norwegian
@hamnis@snabelen.no avatar

Released #circe 0.14.7 https://github.com/circe/circe/releases/tag/v0.14.7

It has been a long time coming, but it is finally in maven-central. If you are a user, please read the release notes.

#scala #typelevel #json #release

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