A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://agda.github.io/agda-stdlib/master/Data.Bool.Show.html below:

Data.Bool.Show

Data.Bool.Show
------------------------------------------------------------------------
-- The Agda standard library
--
-- Showing booleans
------------------------------------------------------------------------

{-# OPTIONS --cubical-compatible --safe #-}

module Data.Bool.Show where

open import Data.Bool.Base using (Bool; false; true)
open import Data.Char.Base using (Char)
open import Data.String.Base using (String)

show : Bool  String
show true  = "true"
show false = "false"

showBit : Bool  Char
showBit true = '1'
showBit false = '0'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4