Browse Source

fix readme

Namdak Tonpa 10 years ago
parent
commit
b76b433633
1 changed files with 4 additions and 1 deletions
  1. 4 1
      README.md

+ 4 - 1
README.md

@@ -152,7 +152,9 @@ All record could be chained into the double-linked lists in the database.
 So you can inherit from the ITERATOR record just like that:
 
 ```erlang
--record(container, {id,top,count}).
+-record(iterator, {id,version,
+                   container,feed_id,prev,
+                   next,feeds=[],guard,etc}).
 ```
 
 The layout of iterators are following:
@@ -206,6 +208,7 @@ Containers are just boxes for storing top/heads of the linked lists. Here is lay
 of containers:
 
 ```erlang
+-record(container, {id,top,count}).
 ```
 
 ```erlang