Skip to content
Snippets Groups Projects
Commit b4a26724 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Get rid of State.forever in lib

parent 9762d683
Branches
Tags
No related merge requests found
...@@ -46,10 +46,6 @@ case class State[S, A](runState: S => (A, S)) { ...@@ -46,10 +46,6 @@ case class State[S, A](runState: S => (A, S)) {
@inline @inline
def >:: (s: S) = eval(s) def >:: (s: S) = eval(s)
/** Helpers */
@isabelle.noBody
def forever[B]: State[S, B] = this >> forever
def apply(s: S) = runState(s) def apply(s: S) = runState(s)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment