#!/bin/bash get-ghc-v() { ghc --version | sed -e "s/.* version/GHC/" } get-ghc-v