Skip to content

Commit

Permalink
Generic generalizations (#110)
Browse files Browse the repository at this point in the history
* Start work on propensive/anticipation#22

* Use generalized instants

* More work on build, towards generalized URLs

* Update submodules with generic URLs

* Rename `Generalizable` to `Abstractable`; `Specializable` to `Concretizable`

* Further progress abstracting over abstraction

* Updates to build and submodules

* Obviate `SpecificUrl`

* Obviate `GenericHttpRequest`

* Refactor `Postable` typeclass and make Anticipation HTTP support more generic

* Clean up generic types for HTTP

* Eliminate one generic HTML typeclass; one remains
  • Loading branch information
propensive authored Feb 4, 2025
1 parent 82d065b commit 3967977
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 48 deletions.
2 changes: 1 addition & 1 deletion anthology
35 changes: 16 additions & 19 deletions build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -235,60 +235,57 @@ object anthology extends SoundnessModule {
}

object anticipation extends SoundnessModule {
object generic extends SoundnessSubModule {
def moduleDeps = Seq(prepositional.core)
}

object text extends SoundnessSubModule {
def moduleDeps = Seq(symbolism.core)
}

object opaque extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text)
}

object css extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text, generic)
}

object url extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text, generic)
}

object html extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text, generic)
}

object print extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text)
}

object http extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text, codec, generic)
}

object codec extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text)
}

object transport extends SoundnessSubModule

object color extends SoundnessSubModule

object log extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text)
}

object path extends SoundnessSubModule {

def moduleDeps = Seq(anticipation.text)
def moduleDeps = Seq(text, generic)
}

object time extends SoundnessSubModule
object time extends SoundnessSubModule {
def moduleDeps = Seq(generic)
}

object test extends ProbablyTestModule
}
Expand Down
2 changes: 1 addition & 1 deletion camouflage
2 changes: 1 addition & 1 deletion coaxial
2 changes: 1 addition & 1 deletion escapade
2 changes: 1 addition & 1 deletion galilei
2 changes: 1 addition & 1 deletion gesticulate
2 changes: 1 addition & 1 deletion gossamer
2 changes: 1 addition & 1 deletion hallucination
2 changes: 1 addition & 1 deletion hellenism
2 changes: 1 addition & 1 deletion imperial
2 changes: 1 addition & 1 deletion jacinta
2 changes: 1 addition & 1 deletion nettlesome
2 changes: 1 addition & 1 deletion octogenarian
2 changes: 1 addition & 1 deletion sedentary
2 changes: 1 addition & 1 deletion serpentine
2 changes: 1 addition & 1 deletion turbulence
2 changes: 1 addition & 1 deletion xylophone
2 changes: 1 addition & 1 deletion zeppelin

0 comments on commit 3967977

Please sign in to comment.