summaryrefslogtreecommitdiff
path: root/src/Mind.hs
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-11-21 10:11:19 -0600
committersanine <sanine.not@pm.me>2023-11-21 10:11:19 -0600
commitd128c42a96110eceb3a82ff26263388efff20623 (patch)
tree3c9f44b50dc395b7d952663c10bb545bb521be27 /src/Mind.hs
parentf9fc4d26ec5fca9ee175c8a6fbcdd0fa36f10947 (diff)
initial stack configuration
Diffstat (limited to 'src/Mind.hs')
-rw-r--r--src/Mind.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Mind.hs b/src/Mind.hs
new file mode 100644
index 0000000..02b98b1
--- /dev/null
+++ b/src/Mind.hs
@@ -0,0 +1,11 @@
+module Mind
+ ( NeuronIndex (..)
+ , getNeuronIndex
+ ) where
+
+-- types
+data NeuronIndex = Input Int | Internal Int | Output Int
+getNeuronIndex :: NeuronIndex -> Int
+getNeuronIndex i = undefined
+
+newtype Edge = Edge (NeuronIndex, Float)