Skip to content
Snippets Groups Projects
Verified Commit ad4e7e37 authored by Rodrigo Mesquita's avatar Rodrigo Mesquita :seedling:
Browse files

Deriving-via one-shot strict state Monad instances

A small refactor to use deriving via GHC.Utils.Monad.State.Strict
Monad instances for state Monads with unboxed/strict results which all
re-implemented the one-shot trick in the instance and used unboxed
tuples:

* CmmOptM in GHC.Cmm.GenericOpt
* RegM in GHC.CmmToAsm.Reg.Linear.State
* UniqSM in GHC.Types.Unique.Supply
parent bc1d435e
No related branches found
No related tags found
1 merge request!12981Draft: UniqDSM for determinism from Cmm onwards
Pipeline #97715 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment