val arg_type (a: arg) : Tot Type0
val arg_type (a: arg) : Tot Type0
let arg_type (a:arg) : Tot Type0 =
  match a with
  | Bool   -> bool
  | Int    -> int
  | Char   -> char
  | String -> string
(*
   Copyright 2008-2018 Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module SimplePrintf

open FStar.Char
open FStar.String

// arguments to printf
type arg =
  | Bool
  | Int
  | Char
  | String

// directives to printf
type dir =
  | Lit of char
  | Arg of arg
/
prims.fst.checked FStar.String.fsti.checked FStar.Pervasives.fsti.checked FStar.Char.fsti.checked
SimplePrintf.fst
a: SimplePrintf.arg -> Type0
SimplePrintf.arg Prims.bool Prims.int FStar.String.char Prims.string
let arg_type (a: arg) : Tot Type0 =
  
match a with
| Bool -> bool
| Int -> int
| Char -> char
| String -> string