Add support for PureScript

This commit is contained in:
klarkc
2024-07-11 16:16:15 -03:00
parent e3452cb1e4
commit fe5e34d9ad
5 changed files with 60 additions and 4 deletions

View File

@@ -470,4 +470,24 @@ index 0000000..7cccc5b
+ */}
+ </div>
+ );
+}
+}
diff --git a/src/Swarm/Game/example.purs b/src/Swarm/Game/example.purs
new file mode 100644
index 0000000..0ce9b1a
--- /dev/null
+++ b/src/Swarm/Game/example.purs
@@ -0,0 +1,14 @@
+-- | Standard devices that are always installed.
+--
+-- TODO: Remove standard devices
+-- In the future, make a way to build these and just start the base
+-- out with a large supply of each?
+-- labels: redesign
+stdDeviceList =
+ ["treads", "grabber", "solar panel", "scanner", "plasma cutter"]
+
+{- | Very complicated function.
+
+TODO: Create an issue for TODO
+-}
+sum a b = a + b