mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-04-06 19:37:10 +00:00
drop unused lease concept
This commit is contained in:
parent
2e8eef3fba
commit
7fd28ef1db
@ -3,20 +3,6 @@ package com.htmlism.scratchpad
|
||||
import cats._
|
||||
import cats.syntax.all._
|
||||
|
||||
sealed trait Lease[F[_]]
|
||||
|
||||
trait Read[A]
|
||||
|
||||
object Read:
|
||||
implicit val readLease: Lease[Read] =
|
||||
new Lease {}
|
||||
|
||||
trait Write[A]
|
||||
|
||||
object Write:
|
||||
implicit val writeLease: Lease[Write] =
|
||||
new Lease {}
|
||||
|
||||
object ScratchPad:
|
||||
def reg[A: Reg]: PartialUsing[A] =
|
||||
new PartialUsing[A]
|
||||
@ -30,8 +16,6 @@ object ScratchPad:
|
||||
.widen[RegisterX]
|
||||
}
|
||||
|
||||
trait ReadWrite[A] extends Read[A] with Write[A]
|
||||
|
||||
lazy val startA =
|
||||
??? : StatefulRegister[Accumulator, Ignores]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user