Foidolites is a fine-grained, hard rock which is a type of metasomatite, essentially altered basalt. It forms with or without crystallization, either below the surface as intrusive rocks or on the surface as extrusive rocks.
Anthracite forms from the accumulation of plant debris in a swamp environment. When plant debris dies and falls into the swamp, the standing water of the swamp protects it from decay.