For openSUSE Leap 42.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_Leap_42.3/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For openSUSE Leap 15.1 ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_Leap_15.1_ARM/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For openSUSE Factory PowerPC standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_Factory_PowerPC_standard/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_Factory_ARM/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_Factory/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For openSUSE 13.2 Ports run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/openSUSE_13.2_Ports/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc
For SLE 15 SP1 Backports run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell:compiler/SLE_15_SP1_Backports/devel:languages:haskell:compiler.repo
zypper refresh
zypper install ghc