Skip to content

Commit

Permalink
mph/MPH.ipynb: update
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsagar committed Feb 7, 2024
1 parent 2f26c08 commit 1fe5825
Showing 1 changed file with 36 additions and 10 deletions.
46 changes: 36 additions & 10 deletions mph/MPH.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "93e19fd5-794d-4634-b8ff-772b9d13cac3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -27,7 +28,8 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "c2acaaab-21b7-466e-98e3-252d06119a78",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -40,7 +42,8 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "6844c4ae-e101-4704-9912-19cc06d5e0e0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -62,7 +65,8 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "8a2440c6-c250-4dd9-9923-0660621caa5f",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -103,7 +107,8 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "8f87c34a-fea5-420d-9105-d2dac553c965",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -136,7 +141,8 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"id": "94fbe258-87a9-4ead-87fb-f2038bdab9d8",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -164,15 +170,34 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"id": "6eaea709-3396-441a-9328-c31d1d8bd34f",
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"\"bar\""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"example = HM.fromList [(\"f\", \"foo\"), (\"b\", \"bar\"), (\"q\", \"quux\")]\n",
"(mph, values) = generate example 2 1\n",
"\n",
"query mph values \"b\""
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "4f555266-b241-44c1-9c38-b57412c2416b",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -184,11 +209,12 @@
"language_info": {
"codemirror_mode": "ihaskell",
"file_extension": ".hs",
"mimetype": "text/x-haskell",
"name": "haskell",
"pygments_lexer": "Haskell",
"version": "8.6.5"
"version": "9.4.8"
}
},
"nbformat": 4,
"nbformat_minor": 4
"nbformat_minor": 5
}

0 comments on commit 1fe5825

Please sign in to comment.