We will be comparing the following DB libraries:
- HRR
- Opaleye
- Persistent + Esqueleto
- Groundhog
- postgresql-simple (and postgresql-transactional)
| {-# language ApplicativeDo #-} | |
| {-# language LambdaCase #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE TypeInType #-} | |
| {-# LANGUAGE AllowAmbiguousTypes #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE InstanceSigs #-} | |
| -- not sure if this is all extensions or all these extensions are needed, just pasting from the file | |
| module VerifySchema where |
| localhost ~ # cat <<EOF> /etc/wpa_supplicant.conf | |
| ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel | |
| update_config=1 | |
| EOF | |
| localhost ~ # wpa_supplicant -iwlp1s0 -Dnl80211 -c/etc/wpa_supplicant.conf -B | |
| Successfully initialized wpa_supplicant | |
| localhost ~ # wpa_cli | |
| wpa_cli v2.0 | |
| Copyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors |