Arg package:ihaskell
Arg isn't itself a
Semigroup in its own right, but it
can be placed inside
Min and
Max to compute an arg min
or arg max.
>>> minimum [ Arg (x * x) x | x <- [-10 .. 10] ]
Arg 0 0
>>> Max (Arg 0 ()) <> Max (Arg 1 ())
Max {getMax = Arg 1 ()}
>>> Min (Arg 0 ()) <> Min (Arg 1 ())
Min {getMin = Arg 0 ()}
Target module for this widget. Evaluates to an empty string by
default.
Target name for this widget. The actual input parameter should be
ignored. By default evaluate to "jupyter.widget", which is used by
IPython for its backbone widgets.
Get the word under a given cursor location.