fix: separate AsValue from Value
This commit is contained in:
parent
3e06f86735
commit
ff2ec88fcf
2 changed files with 7 additions and 6 deletions
7
dom/src/main/scala/top/davidon/sfs/dom/AsValue.scala
Normal file
7
dom/src/main/scala/top/davidon/sfs/dom/AsValue.scala
Normal file
|
@ -0,0 +1,7 @@
|
|||
package top.davidon.sfs.dom
|
||||
|
||||
trait AsValue[F, T] {
|
||||
extension (from: F) {
|
||||
def asStringValue(): Value[F, String]
|
||||
}
|
||||
}
|
|
@ -17,12 +17,6 @@ class Value[F, T](
|
|||
}
|
||||
}
|
||||
|
||||
trait AsValue[F, T] {
|
||||
extension (from: F) {
|
||||
def asStringValue(): Value[F, String]
|
||||
}
|
||||
}
|
||||
|
||||
object Value {
|
||||
def join(
|
||||
iterator: Iterable[Value[?, String]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue