---
title: "把Module搞得像Class"
author: "gigix"
date: "2007-11-09T22:59:43Z"
tags: ["C", "C#", "C++", "Erlang"]
categories: ["编程语言"]
slug: "module-class"
draft: false
lastmod: "2007-11-09T22:59:43Z"
id: 139567
url: "https://gigix.iteye.com/blog/139567"
---

<http://www.clickcaster.com/items/the-black-art-of-erlangs-parameterized-modules>

> To declare a parameterized module, simply specify some variable names in the module declaration...Parameterized modules give you what are effectively constants which can be declared per "instance" of a module.

非标准用法，风险自负。