diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -2,4 +2,14 @@
 
 ## Unreleased changes
 
+## [0.1.0.1] - 2021-06-19
+
+* Executable example put under a flag.
+
+[0.1.0.1]: https://gitlab.com/dpwiz/PortMidi-simple/tree/v0.1.0.1
+
+## [0.1.0.0] - 2021-02-27
+
 * Initial import
+
+[0.1.0.0]: https://gitlab.com/dpwiz/PortMidi-simple/tree/v0.1.0.0
diff --git a/PortMidi-simple.cabal b/PortMidi-simple.cabal
--- a/PortMidi-simple.cabal
+++ b/PortMidi-simple.cabal
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.33.0.
+-- This file has been generated from package.yaml by hpack version 0.34.4.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 52897407ff2f9d2290fd2c1b269593b8b9fe682997abbd9aefdd97a9b740d1ae
+-- hash: a22901de12d8210b05f349278175bcc7664f5553351418c9e3be872a4ca12b7c
 
 name:           PortMidi-simple
-version:        0.1.0.0
+version:        0.1.0.1
 synopsis:       Simplified PortMidi wrapper
 category:       Sound
 author:         Alexander Bondarenko
@@ -24,6 +24,10 @@
   type: git
   location: https://gitlab.com/dpwiz/PortMidi-simple
 
+flag executables
+  manual: True
+  default: False
+
 library
   exposed-modules:
       Sound.PortMidi.Simple
@@ -48,4 +52,6 @@
       PortMidi
     , PortMidi-simple
     , base >=4.7 && <5
+  if !flag(executables)
+    buildable: False
   default-language: Haskell2010
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
 > Reading from MIDI controllers should not be too difficult.
 
 ```haskell
+{-# LANGUAGE BlockArguments #-}
 import qualified Sound.PortMidi.Simple as Midi
 
 main = Midi.withMidi do
