How do I combine these two, to be able to do pattern matching and at the same time have that matched literal in a variable?
fun1 :: Int -> String
fun1 1 = -- ..... how to bind 1 to a variable in the function declaration?
fun1 55 = -- ..... how to bind 55 to a variable in the function declaration?
fun1 123 = -- ..... how to bind 123 to a variable in the function declaration?
fun1 a = -- ........... all is OK