Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

ppurang

@ppurang@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social
0 Followers
0 Following
8 Posts
Joined October 28, 2022
Open post
ppurang @ppurang@mastodon.social
· 6mo ago
Replying to
@alexelcu@mastodon.social #flixlang does statically tracked capabilities too.. that too on the JVM hosted in #scala ..
3
0
0
0
Open post
ppurang @ppurang@mastodon.social
· 6mo ago
Replying to

@vascorsd The way I solved it till now for cases that aren't reachable was to introduce a !!! that was a good old AssertionError.. along the lines of ???. Bit of a contrived example but something like this: https://scastie.scala-lang.org/cTlwfWYDS4Wo0LWcu0gkpQ oops new link

scastie.scala-lang.org
1
2
0
0
Open post
ppurang @ppurang@mastodon.social
· 6mo ago
Replying to
@vascorsd glad you like it. Go for it.
1
0
0
0
Open post
ppurang @ppurang@mastodon.social
· 6mo ago

sbt new protip: to test drive a giter8 (g8) template locally (because you want to test changes):

```
sbt new file://./cats-seed.g8
```

that `file://` bit is important.

#scala #sbt

mastodon.social
1
0
0
0
Open post
ppurang @ppurang@mastodon.social
· 7mo ago

Took `strictEqualityPatternMatching` and `subCases` for a test ride.

`strictEqualityPatternMatching` works pretty good. also across `sum`/`enum` types and `union` types. Nice!

`subCases` interfered with exhaustivity checks. Maybe I am doing something wrong. `subCases` for `sum` types to tease them out separately would be solid.

`Integer` pattern match was deemed exhaustive when shouldn't have been. (will do some more tests here.)


https://scastie.scala-lang.org/CE9rW97WRSSnFkQsP83TKg

#scala #scastie

scastie.scala-lang.org
1
1
0
0
Open post
ppurang @ppurang@mastodon.social
· 4mo ago

@alexelcu@mastodon.social I use https://github.com/aiyanbo/sbt-dependency-updates

github.com
0
0
0
0
Open post
ppurang @ppurang@mastodon.social
· 6mo ago

. @eed3si9n@mastodon.social As sbt 2 comes close to a release is it too late to try and move towards scala-cli like dependencies notation, i.e. instead of "com.casualmiracles" %% "treelog" % "1.9.5" using com.casualmiracles::treelog:1.9.5 ? I assume that newer folks will come from scala-cli to sbt so one less hurdle, also makes copy pasting things across simpler. Just a thought. And thanks once again for making sbt awesome and the good work. Can't wait for sbt 2 :)

0
1
0
0
Open post
ppurang @ppurang@mastodon.social
· 7mo ago

Saw a toot about "Scala 3" Scaladoc static site generator. QOTD: Can it compile/run scala snippets embedded in docs, like mdoc?

Seems like it can: https://docs.scala-lang.org/scala3/guides/scaladoc/snippet-compiler.html

Feature parity with mdoc? Mdoc's integration with Docusaurus seems pretty nifty. sbt-typlelevel seems to have documentation covered with mdoc and laika.

What do/would you use and why?

#scala

docs.scala-lang.org
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 10:33:28 UTC