Agda-2.4.0: A dependently typed functional programming language and proof assistant

Safe HaskellNone

Agda.TypeChecking.Abstract

Description

Functions for abstracting terms over other terms.

Synopsis

Documentation

class IsPrefixOf a whereSource

isPrefixOf u v = Just es if v == u applyE es.

Methods

isPrefixOf :: a -> a -> Maybe ElimsSource