<Haskell vc3_2023>
Author: <David Wahlstedt>
Category: <Christmas Challenge or Wild>
System: <Nix on Droid>
Language: <Haskell>
Len source code: <91>
Len exe file: <12595752>
Len code only: <# bytes> (valid for assembler only; length of executable without BASIC stub)
Instructions:
<
On an x86-64 Linux system, just run the executable ./dw_vc3_2023
If you have haskell (ghc) installed, run with
runhaskell dw_vc3_2023.hs
The uploaded screenshot shows how it was run on my mobile (android) in the "Nix on droid" app.
Nix on droid can be installed through the F-drois app, and the ghc can
be installed by
nix run nixpkgs.haskellPackages.ghc
and then you can invoke the ghc, ghci, or runhaskell commands.
>
Description:
<It uses a list comprehension to generate the pattern>
Comments:
<This could have been made shorter, but in this shape it is still decently readable. The binary is certainly not minimalistic, but the source code is quite short.>