lib/scripts/ghc
author desharna
Mon, 20 Mar 2023 18:33:56 +0100
changeset 77699 d5060a919b3f
parent 69949 a7a0115061ec
permissions -rwxr-xr-x
reordered assumption and tuned proof of Multiset.bex_least_element and Multiset.bex_greatest_element

#!/usr/bin/env bash
#
# Author: Makarius
#
# Invoke ghc via "stack".

if [ -f "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY" ]
then
  isabelle_stack ghc -- "$@"
else
  echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
  exit 127
fi