packages feed

funcons-tools-0.1.0.0: manual/Funcons/Core/Values/Primitive/BoolBuiltin.hs

{-# LANGUAGE OverloadedStrings #-}

module Funcons.Core.Values.Primitive.BoolBuiltin where

import Funcons.EDSL

tobool :: Bool -> Values 
tobool True   = ADTVal "true" []
tobool False  = ADTVal "false" []