aiken/crates
KtorZ d74e36d0bc
Introduce 'Never' type as a safe alternative to always None options
Unfortunately, as documented in:

  https://github.com/IntersectMBO/cardano-ledger/issues/4571

  Some Option fields in the script context certificates are going to
  remain set to None, at least until the next Hard fork. There's a risk
  that people permanently lock their funds if they expect deposits on
  registration credentials to ever be `Some`.

  So, we introduce a special type that emulate an `Option` that can only
  ever be `None`. We call it `Never` and it is the first type of this
  kind (i.e. with constructors indexes not starting at 0).
2024-08-27 14:40:39 +02:00
..
aiken Fix script context translations for withdrawals and validity intervals. 2024-08-13 23:43:47 +02:00
aiken-lang Introduce 'Never' type as a safe alternative to always None options 2024-08-27 14:40:39 +02:00
aiken-lsp Provide better errors on unknown type in cyclic definitions. 2024-08-06 19:24:48 +02:00
aiken-project Introduce 'Never' type as a safe alternative to always None options 2024-08-27 14:40:39 +02:00
uplc Introduce 'Never' type as a safe alternative to always None options 2024-08-27 14:40:39 +02:00