snap is:module

This module provides convenience exports of the modules most commonly used when developing with the Snap Framework. For documentation about Snaplets, see Snap.Snaplet. For the core web server API, see Snap.Core.
Snap integration for the WebSockets library
Snaplets allow you to build web applications out of composable parts. This allows you to build self-contained units and glue them together to make your overall application. A snaplet has a few moving parts, some user-defined and some provided by the snaplet API:
  • each snaplet has its own configuration given to it at startup.
  • each snaplet is given its own directory on the filesystem, from which it reads its configuration and in which it can store files.
  • each snaplet comes with an Initializer which defines how to create an instance of the Snaplet at startup. The initializer decides how to interpret the snaplet configuration, which URLs to handle (and how), sets up the initial snaplet state, tells the snaplet runtime system how to clean the snaplet up, etc.
  • each snaplet contains some user-defined in-memory state; for instance, a snaplet that talks to a database might contain a reference to a connection pool. The snaplet state is an ordinary Haskell record, with a datatype defined by the snaplet author. The initial state record is created during initialization and is available to snaplet Handlers when serving HTTP requests.
NOTE: This documentation is written as a prose tutorial of the snaplets API. Don't be scared by the fact that it's auto-generated and is filled with type signatures. Just keep reading.
GtkSnapshot assists in creating RenderNodes for widgets. It functions in a similar way to a cairo context, and maintains a stack of render nodes and their associated transformations. The node at the top of the stack is the one that gtk_snapshot_append_…() functions operate on. Use the gtk_snapshot_push_…() functions and [methodsnapshot.pop] to change the current node. The typical way to obtain a GtkSnapshot object is as an argument to the Widget.snapshot() vfunc. If you need to create your own GtkSnapshot, use snapshotNew.
Base type for snapshot operations. The subclass of GdkSnapshot used by GTK is GtkSnapshot.
This module provides fast, pure Haskell bindings to Google’s Snappy compression and decompression library: http://github.com/google/snappy. These functions operate on strict bytestrings, and thus use as much memory as both the entire compressed and uncompressed data.
Assists in creating RenderNodes for widgets. It functions in a similar way to a cairo context, and maintains a stack of render nodes and their associated transformations. The node at the top of the stack is the one that gtk_snapshot_append_…() functions operate on. Use the gtk_snapshot_push_…() functions and [methodsnapshot.pop] to change the current node. The typical way to obtain a GtkSnapshot object is as an argument to the Widget.snapshot() vfunc. If you need to create your own GtkSnapshot, use snapshotNew.
Snapshot the state of a streaming job. See: Dataflow API Reference for dataflow.projects.jobs.snapshot.
Snapshot the state of a streaming job. See: Dataflow API Reference for dataflow.projects.locations.jobs.snapshot.
Move and resize floating windows using other windows and the edge of the screen as guidelines.
Creates a snapshot of a specified persistent disk. See: Compute Engine API Reference for compute.disks.createSnapshot.
Creates a snapshot of this regional disk. See: Compute Engine API Reference for compute.regionDisks.createSnapshot.
Deletes a snapshot. See: Dataflow API Reference for dataflow.projects.deleteSnapshots.