mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-06-12 13:29:32 +00:00
10 lines
173 B
Scala
10 lines
173 B
Scala
package com.htmlism.firepower.core
|
|
|
|
trait Loadable[A]:
|
|
def show(x: A): String
|
|
|
|
object Loadable:
|
|
given Loadable[Int] with
|
|
def show(x: Int): String =
|
|
x.toString
|