Skip to content

Commit

Permalink
Use safer optional values, and other enabling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 24, 2025
1 parent f2af6d2 commit 92c0ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/hieroglyph-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import anticipation.*
import contingency.*
import vacuous.*

import language.experimental.captureChecking
import language.experimental.pureFunctions

extension (encoding: Encoding { type CanEncode = true }) def encoder: CharEncoder =
CharEncoder(encoding)
Expand Down
2 changes: 1 addition & 1 deletion src/core/hieroglyph.CharDecoder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import scala.collection.mutable as scm

import java.nio as jn, jn.charset as jnc

import language.experimental.captureChecking
import language.experimental.pureFunctions

object CharDecoder:
given default: Quickstart => CharDecoder = charDecoders.utf8
Expand Down

0 comments on commit 92c0ee2

Please sign in to comment.