summaryrefslogtreecommitdiff
path: root/H39.hs
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-04-01 12:05:34 +0800
committerJoe Zhao <ztuowen@gmail.com>2015-04-01 12:05:34 +0800
commitd09ec147fa223dcf760eaa592bc0573e678ea412 (patch)
tree636574b21abc2427d4fad059848f6bae7576e2f4 /H39.hs
parent3eec84838808139470261893ce15846852384bcf (diff)
downloadh99-d09ec147fa223dcf760eaa592bc0573e678ea412.tar.gz
h99-d09ec147fa223dcf760eaa592bc0573e678ea412.tar.bz2
h99-d09ec147fa223dcf760eaa592bc0573e678ea412.zip
+39 +40
Diffstat (limited to 'H39.hs')
-rw-r--r--H39.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/H39.hs b/H39.hs
new file mode 100644
index 0000000..08da249
--- /dev/null
+++ b/H39.hs
@@ -0,0 +1,3 @@
+import H35
+
+primesR a b = dropWhile (<a) $ takeWhile (<=b) primes