Jikka-5.6.0.0: A transpiler from Python to C++ for competitive programming
Safe HaskellNone
LanguageHaskell2010

Jikka.Core.Language.AssertedHint

Synopsis

Documentation

data AssertedHint Source #

Constructors

NotEqualHint ArithmeticExpr

NotEqualHint n for a integer variable x means x /= n

BoundHint (Maybe ArithmeticExpr) (Maybe ArithmeticExpr)

BoundHint l r for a integer variable x means l <= x < r

LengthHint Type AssertedHint

LengthHint t hint for a list variable xs means length xs satisfies hint

AllHint Type AssertedHint

AllHint t hint for a list variable xs means that x satisfies hint for all x in xs

Functions using hints